-
-
Notifications
You must be signed in to change notification settings - Fork 404
Guidelines for raising issues
This repo is maintained with contributions from various collaborators across the world. On the personal front, recently I as well as few of our other contributors have been slightly busy with their respective day jobs, family and other side projects. Hence to resolve the issues quickly and efficiently, please follow the simple guidelines below. Please keep the problem description as straightforward as it can be so that it can be understood at the 1st read.
PRs are welcome. If you figure out how to fix an issue or add a feature, don't hesitate to issue a Pull Request, even if it's your own issue or problem you are facing. In this way you help yourselves as well as help other who is facing simillar issues
-
Add reviewr 1 (If Kafka related) TODO:
-
Add reviewr 1 (If HTTP related) TODO:
-
Add reviewr 1 (If Mocking or Spring boot related) TODO:
- Basic guidelines are laid down in CONTRIBUTING for raising an issue or a feature request Clearly capture in term of the following:
- Is it an issue ?
- Are you requesting a feature ?
- Is it a Bug ?
- Are you looking for an answer to a question(s) ?
-
But while raising an issue or a problem or an incident or a feature-request, please take care of the following points without which the
issue
might get rejected. The AC(Acceptance Criteria)s are: -
AC1- You have captured relevant logs into the ticket e.g. a scenario's all step(s) output.
You can find the logs under "target/logs" in case you missed it from IDE console
-
AC2- Write down the steps you performed which led to this issue or incident you are reporting
-
AC3- Provide all steps to reproduce the issue - Best is to provide your configs(or code changes) and the scenario file(stripping out any business-sensitive information)
-
Clearly capture into the story/ticket what is actual-result and what is the expected-result
- In case of a Feature request or a Tool request - Please provide enough details stepwise
-
If you are simply asking a question or want to clarify something, please explain the issue in terms of what you want to achieve or which business use-case you want to solve. Please explain this with clarity.
Note here: There is no business scenario or usecase provided. This makes difficult for our collaborators to understand the scenario you are trying to automate.
As an automation tester
AC:
I want $EQ/$NOT.EQ for non-numerics
to be supported by the framework
So that I can compare strings using $NOT.EQ
and continue to do my automation work.
Note here: There is a business scenario or usecase provided next to the issue description 👍
AC:
As an automation tester
I want $EQ/$NOT.EQ for non-numerics
to be supported by the framework
So that I can compare strings using $NOT.EQ
and continue to do my automation work.
Business use-case example:
So let's say I create a Ticket object(e.g. a POST call). It gets assigned to an agent from a random pool of agents.
The created entity then returns with the "agent_id" field.
Next time I create a ticket(a new POST call), I don't know which agent will get assigned to it,
but I want to be sure it was not the previous one.
AC = Acceptance Criteria. If you have more ACs, mark them as AC1, AC2...
Visit the Zerocode Documentation Site for all things.
-
User's Guide
-
Matchers
-
Zerocode Value Tokens
-
YAML DSL
-
Http Testing
-
Kafka Testing
- Introduction
- Produce, consume proto message
- Produce raw message
- Consume raw message
- Produce JSON message
- Consume JSON message
- Produce and consume XML message
- Kafka - consume the latest message or n latest messages
- Produce avro message
- Consume avro message
- KSQL in action
- Produce multiple records
- Produce from file
- Produce to a partition
- Produce and consume records with headers
- Produce n assert partition ack
- Comsume and dump to file
- commitSync vs commitAsync
- Overriding config inside a test
- Chosing String or Int or Avro Serializer
- Chosing String or Int or Avro Deserializer
- Attaching timestamp during load
- Default timestamp provided by Kafka
- Consume and assert avro schema metadata
- Error handling - produce via avro schema
- Sorting Kafka records consumed
-
DB Testing
-
Kotlin Testing
-
Performance Testing - Load and Stress
- Performance Testing - via awesome JUnit runners
- Load Vs Stress generation on target application
- Run a single test or a scenario in parallel
- Run multiple test scenarios in parallel - Production load simulation
- Dynamically change the payload for every request
- Analytics - Useful report(s) or statistics
-
Parameterized Testing
-
Docker
-
More+
-
Extensions
-
JUnit5 Jupiter Test
-
Questions And Answers(FAQ)
- What is Zerocode testing?
- SSL http https connections supported?
- How to assert array size Greater-Than Lesser-Than etc?
- How to invoke POST api?
- How to assert custom headers of the response?
- How to pass custom security token into the request header?
- When to use JUnit Suite runner and when Zerocode Package runner?
- How to execute DB SQL and assert?
- How to handle Http response other than utf-8 e.g. utf-16 or utf-32 ?
- Random Number Generator Placeholders Usages and Limits
- Automation tests for Zerocode lib itself
- Picking a leaf value from the array matching JSON Path
- Array assertions made easy, incl. size and element finder
-
Read Our Blogs
- Top 16 Open Source API Testing Tools For REST & SOAP Services - joecolantonio (Lists popular tools - Globally)
- OAuth2 Test Automation - DZone 2min Read
- Zero defect APIs - Build Pipe Line - Medium 10 min Read
- Develop ZeroDefect API's with ZeroCode! - Extreme Portal ( A must read for all developers and test engineers) 10min Read
- Performance testing using JUnit and maven - Codeproject 10 min Read
- REST API or SOAP End Point Testing - Codeproject 10min Read
- DZone- MuleSoft API Testing With Zerocode Test Framework - DZone 5min Read
- Testing need not be harder or slower, it should be easier and faster - DZone 5 min Read
- Kotlin Integration Testing simplified via Zerocode - Extreme portal 10 min Read
- and More...