Test Framework following BDD and Cucumber
Test Framework following BDD and Cucumber with Java code implemntation.
The main purpose is to exsercize API's of application infrastructure.
Code decomposition.
There should be a balance between code and template engines (JSON). Practicality is key.
- Java 11
- Apache maven 3.9.5
- Java IDE
- All other dependencies are described in the root pom.xml
- Clone the project
- CLI: run in the root folder
mvn clean install -DskipTests
- IDE: depends on the IDE could use any suitable Maven plugin
- These environment variables must exists in your system or IDE plugin:
- dev_sensor_api_key
- dev_sensor_static_password
- dev_sensor_static_username
- dev_skycell_api_key
- dev_skycell_static_password
- dev_skycell_static_username
- logger_nex_mr810t
- logger_nex_mr812p
- CLI: run in the root folder
mvn test
- IDE: depends on the IDE could use any suitable Cucumber plugin
Contains execution report from tests.
Main Test engine
functionality and helper functions, that shouldn't carry any information about the tested product. This framework should not heavily depend on a full Data-driven approach (relying only on data stored in files) in order to avoid the Pesticide paradox.
Contains feature
files, devided by functionality. Beside that, keeps the test and static data as models. Concept is, read it once, use it everywhere.