Skip to content

Releases: veepee-oss/gingerspec

2.2.17

21 Dec 12:39
Compare
Choose a tag to compare
Minor library update that fixes the problem where the framework was u…

2.2.16

06 Jan 14:41
Compare
Choose a tag to compare
Prepare for 2.2.16 release

2.2.15

22 Dec 14:51
Compare
Choose a tag to compare
Prepare for 2.2.15 release

2.2.14

04 Dec 13:29
Compare
Choose a tag to compare
Updated CHANGELOG, prepared POM for 2.2.14. Fixed minor typos

2.2.13

09 Jul 15:51
Compare
Choose a tag to compare
  • Created a new formatter capable of transforming the feature files into a html document. This is for auto-generating the documentation that will be published in GitHub pages (https://veepee-oss.github.io/gingerspec/index.html)
  • Some unnecessary features and runner classes were removed, general code-cleanup
  • Completely rewrite the Selenium, Rest and SQL features, so they can be displayed with nice sections in the final html page. The Selenium feature was rewritten using examples from https://testpages.herokuapp.com/
  • Many Selenium steps were rewritten to avoid using a previous step for storing webelements
  • Test page used during the pipeline execution for testing the selenium steps was removed and is no longer using demoqa.com, but a static page from https://testpages.herokuapp.com/
  • Improved debug messages for selenium steps
  • @rest annotation was removed. Rest steps will now automatically bootstrap a new instance of rest-assured client if it doesn't exists
  • @Sql annotation was removed. Now GingerSpec will automatically close any open database connection at the end of the scenario

2.2.12

09 May 12:18
Compare
Choose a tag to compare
  • Updated step so Rest client from rest assured is not initialized using a port if the user does not specify one
  • Removed unnecessary reference to RestGSpec from BigDataGSpec
  • Completely removed async-http-client to make Rest requests. Now GingerSpec only uses rest-assured internally
  • Created a new format to automatically generate features documentation (WIP)
  • Added a step for saving the number of rows returned in the last SQL query in a variable for future use in the scenario
  • Added a new step to verify the number of rows returned by an SQL query
  • ReplacementAspect feature was reorganized and more examples were added
  • EnvPropertyLookup can now also read the env variable from a previously saved variable in the same scenario, not only from CLI variables
  • GingerSpec now performs variable replacement in the SQL files before executing the query in the database
  • Multiples improvements in the rest steps. The method for getting the value of a json element given the jsonpath was modified to use the one that comes pre-bumdled in rest-assured. Several bug fixes and improvements in the log messages when there's an assertion error. Feature for rest steps was revamped with more examples and use cases

2.2.11

16 Dec 22:10
Compare
Choose a tag to compare
  • mysql and postgre dependencies were updated and the connection string used to bootstrap the connection no longer uses UTC timezone
  • Added new lookup to StringSubstitutor in replacement aspect to evaluate expressions from the Java Faker library
  • Fixed an error in which the formatter was unnecessarily calling the replacement aspect. Added a couple of steps for testing how the formatter prints docstring and datatables
  • Added a new lookup to StringSubstitutor in replacementAspect to evaluate mathematical expressions using the exp4j library
  • Bump log4j-api from 2.14.1 to 2.16.0
  • Removed deprecated code from ReplacementAspect, changed its public API method to make it more coherent. Support for !{} #{} and @{} variable placeholders was completely removed from GingerSpec
  • Added support to make variable replacements in local files. Now, for example, you can use variables directly in the JSON body of a request that is stored in a local file. GingerSpec will try to perform variable replacement in the text before adding the body to the request. This eliminates the need to use a datatable for altering the body of the request

2.2.10

16 Sep 11:16
Compare
Choose a tag to compare
  • Restored JaCoCoClient.java class to allow connections to a remote JaCoCo server
  • Bump commons-beanutils from 1.9.3 to 1.9.4
  • Upgrade com.google.guava:guava to version 30.0-jre
  • Bump commons-configuration2 from 2.3 to 2.7

2.2.9

13 Sep 13:49
Compare
Choose a tag to compare
  • Added debug messages for SQL steps
  • Bump jackson-databind from 2.10.3 to 2.10.5.1
  • Bump jsoup from 1.7.3 to 1.14.2
  • Bump commons-io from 2.6 to 2.7
  • Bump httpclient from 4.5.1 to 4.5.13
  • Optimized imports
  • Added step to send messages to a Slack channel

2.2.8

18 Aug 10:25
Compare
Choose a tag to compare
  • Removed some unnecessary classes and methods
  • Added new tag @slack that allows sending an slack notification when a scenario fails
  • Added ALL and OFF as possible debug level when using tags
  • Fixed a bug when creating folder structure when taking an screenshot during selenium tests