A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
ZeroCodeAssertionsProcessorImplTest#testDate.testDateAfterBefore_fail_both is a flaky test, fixed in this PR.
POINT OF FAILURE ->
In ZeroCodeAssertionsProcessorImpl.createJsonAsserters, ObjectMapper.mapTree creates a JsonNode object whose key-value pairs are not necessarily ordered, thus the elements in List<JsonAsserter> are not ordered, causing further failures.
Fixed using NonDex pugin
For particular test:
Add the following lines to your pom.xml
<plugin> <!-- for flaky testing -->
<groupId>edu.illinois</groupId>
<artifactId>nondex-maven-plugin</artifactId>
<version>2.1.7</version>
</plugin>
Fixed flaky test-case
Fixes Issue
PR Branch fork
Motivation and Context
ZeroCodeAssertionsProcessorImplTest#testDate.testDateAfterBefore_fail_both
is a flaky test, fixed in this PR.POINT OF FAILURE ->
In
ZeroCodeAssertionsProcessorImpl.createJsonAsserters
,ObjectMapper.mapTree
creates aJsonNode
object whose key-value pairs are not necessarily ordered, thus the elements inList<JsonAsserter>
are not ordered, causing further failures. Fixed using NonDex puginFor particular test: Add the following lines to your pom.xml
and run
OR
For more information : https://github.com/TestingResearchIllinois/NonDex
Checklist:
[ ] New Unit tests were added
[ ] Integration tests were added
[ ] Test names are meaningful
[ ] Feature manually tested and outcome is successful
[X] PR doesn't break any of the earlier features for end users
[X] Branch build passed in CI
[X] No 'package.*' in the imports
[ ] Relevant DOcumentation page added or updated with clear instructions and examples for the end user
[ ] Http test added to
http-testing
module(if applicable) ?[ ] Kafka test added to
kafka-testing
module(if applicable) ?