Commit Graph

46 Commits

Author SHA1 Message Date
Joshua Darnell d99deb3b68 adding additional comments 2020-03-26 13:22:13 -07:00
Joshua Darnell a598261d0d Added monadic test containers for Certification. Cleaned up code. 2020-03-25 23:34:13 -07:00
Joshua Darnell 2a27c4ab0e cleaning up test container 2020-03-25 13:06:27 -07:00
Joshua Darnell d371a9d3bb adding updated commander jar file 2020-03-23 23:40:11 -07:00
Joshua Darnell fbfa3c0d15 created a test wrapper for the commander, converted tests to use test wrapper, rename commander.log to commander.debug.log, and change state mutators to helper functions in TestUtils 2020-03-23 23:34:25 -07:00
Joshua Darnell b7ae36edeb adding gradle wrapper dependencies 2020-03-23 12:20:19 -07:00
Joshua Darnell f574e14040 Added better Auth handling and XML parsing. XML parsing is stricter now and uses OData 4.0 errata03 XSDs to parse EDM and EDMX schema 2020-03-18 23:36:49 -07:00
Joshua Darnell 5ff160b2a4 Fixed Auth deprecated classes, Client Credentials, and added stricter XML checking against EDM and EDMX XSDs 2020-03-18 22:11:59 -07:00
Joshua Darnell a788bf0309 Removed testing and stats from the Commander jarfile during runRESOScript option, and updated RESOScript templates 2020-03-18 16:00:13 -07:00
Joshua Darnell 2667df3b30 Adding checks for DataSystem resource and new Gold template (generic.gold.resoscript), and updated documentation. 2020-03-18 11:15:14 -07:00
Joshua Darnell 5fdf4f9158 refactored getEntities to use callback, and renamed the OAI steps to OpenAPI 2020-03-17 17:27:22 -07:00
Joshua Darnell a3bfa89576 Added additional tests for Well Known Resources as well as Web API Standard Names requirements. Bumped generic.resoscript 2020-03-15 13:12:01 -07:00
Joshua Darnell 1c17926d91 cleaned up logging and showResponse arg logic 2020-03-14 15:08:09 -07:00
Joshua Darnell 951b58820c Added additional error handling for 403 and 501 and suppressed console stacktraces, but outputted to log 2020-03-14 14:51:59 -07:00
Joshua Darnell 6f8d69848c generated glue code and built basic Gradle tasks for DD 1.5 and 1.6 2020-03-10 00:07:37 -07:00
Joshua Darnell ac49c61929 Basic DD skeleton with .feature files 2020-03-09 22:36:08 -07:00
Joshua Darnell 467c06ea6a updated generic.resoscript, and also addded versioning. Added first test 2020-03-09 18:10:59 -07:00
Joshua Darnell 16c34664d0 Moved exception handling for metadata validation to .feature file rather than helper class 2020-03-08 12:26:33 -07:00
Joshua Darnell 76eaa31271 Merge branch 'automated-v1' 2020-03-08 12:09:43 -07:00
Joshua Darnell 3af034afb2 Adding more stringent Metadata checking and metadata lookups for the given resource being tested 2020-03-08 11:47:00 -07:00
Joshua Darnell 0ae0fee43e Tightened up metadata checking, including checking for given resource and select list. Added better debugging info. Updated README. 2020-03-08 11:46:11 -07:00
Joshua Darnell a3687b9f6a Added convenience methods for Gold and Platinum Web API Certs, Updated Docker Instructions and README
Tightened up metadata checking, including checking for given resource and select list. Added better debugging info. Updated README.
2020-03-08 03:47:17 -07:00
Joshua Darnell 317436996b adding convenience methods for Gold and Platinum Web API Certs, Updated Docker Instructions and README 2020-03-05 21:15:43 -08:00
darnjo 82456bcf14 adding new commander jarfile 2020-03-02 17:13:48 -08:00
darnjo 398599a1da Fixed minor typo 2020-03-02 12:25:58 -08:00
Joshua Darnell dbabae2158 String comparison functions working 2020-03-02 12:08:21 -08:00
Joshua Darnell 521920a1f8 Date comparisons through REQ-WA103-QO24, fractional seconds comparisons 2020-03-02 04:25:33 -08:00
Joshua Darnell d412f0bdd4 Added support for Asc, Desc timestamp comparison operators 2020-03-02 00:11:06 -08:00
Joshua Darnell f02b95f4fb removed duplicate print statement 2020-02-28 13:07:06 -08:00
Joshua Darnell bd8a1acfcf Add response printing with -DshowResponses=true 2020-02-28 12:40:04 -08:00
Joshua Darnell e9e6eecd1f preliminary check for multi-valued enumerations and some assert cleanup 2020-02-28 11:53:49 -08:00
Joshua Darnell 0784c2e693 cleaned up logging 2020-02-27 20:09:23 -08:00
Joshua Darnell b2299fb0d8 tightened up data checking 2020-02-27 19:40:32 -08:00
Joshua Darnell 4be5e3bed6 new jar 2020-02-27 19:14:42 -08:00
Joshua Darnell 6321b644a5 Added better support for settings resolution in Cucumber tests, upgraded generic.resoscript with more generic statements and a that builds itself 2020-02-27 18:26:25 -08:00
Joshua Darnell 451ecf00bf updated generic.resoscript with more sensible names for the keyfield and tests 2020-02-27 17:11:38 -08:00
Joshua Darnell 1de4748b12 updated .gitignore 2020-02-27 16:01:17 -08:00
Joshua Darnell 229b6878c4 added null checks to the generic.resoscript and better Integer/String handling for Key field comparisons 2020-02-27 15:38:21 -08:00
Joshua Darnell 3f82b07d7f added support for single-valued enumeration checking 2020-02-27 11:00:18 -08:00
Joshua Darnell b84d62620a Updating Dockerfile, generic.resoscript, and removing assertions from the runRESOScript action. Gradle should be used for assertion testing. See README 2020-02-26 18:38:50 -08:00
Joshua Darnell 8fb7fb06ed rebuilt for Java 1.8 and cleaned up some of the logging and int compare tests 2020-02-25 23:51:27 -08:00
Joshua Darnell d5202cf3de updated resoscript variables and added further test support 2020-02-24 19:15:45 -08:00
Joshua Darnell b369a07859 Added support for asserting response codes, like 400s, for a specific OData version 2020-02-22 15:08:46 -08:00
Joshua Darnell 57016aec78 assert stepdef cleanup 2020-02-22 14:25:21 -08:00
Joshua Darnell 9f7809906e
Automated-v0 (#23)
* Support added for RESOScript files
* Reading and executing RESOScript files with automated testing works
* Refactored XML/Edm Metadata parsing
* Gradlezied automated testing
* Updated generic.resoscript template
* Updated Docs.
* Added XML validation prior to Metadata validation
* Added backwards compatibility support with older versions of gradle
* Extended builder refactoring
* Renamed Main to App and moved output directories to current working directory
* Updated generic.resoscript, added primitive Assert handling, removed /out and checked in /build in keeping with Gradle's default
* Stats generation and recursive parameter resolution, plus new reference generic.resoscript.
* Added Stats, Metallic Levels Report, Capabilities Report, and changes to generic.resoscript
* Refactored RequestStatus into Request, and added more enhanced statistics
* Refactored metadata report generator and added CertificationReport.txt, including metadata report
* Added Cucumber scripts for testing
* Gradle working from command line with pathToRESOScript variable
* HTML Reporting working
* New commander build
* Fixed some minor bugs with --runRESOScript
* Upgraded dependencies and got tests through DataSystem working
* Refactored step defs and features, hopefully better flow
* Metadata through $skip tests working
2020-02-18 23:43:55 -08:00
Joshua Darnell f311dd2ba4
Resoscript-v0 (#17)
Release Notes:
* support added for RESOScript files
* tidied up output
* refactored XML/Edm Metadata parsing
* gradleized and upgraded to log4j2
* added generic.resoscript template
* added support for log4j1 and specifying java version
* added docs
* added XML validation prior to Metadata validation
* backwards compatibiliy with older versions of gradle
* extended builder refactoring
* renamed Main to App and moving output directories to current working directory
* updated generic.resoscript, added primitive Assert handling, removed /out and checked in /build in keeping with Gradle's default
* stats generation and recursive parameter resolution, plus new reference generic.resoscript
* dockerized (thanks @alexjpaz)
* Adding Stats, Metallic Levels Report, Capabilities Report, and changes to generic.resoscript
* refactored RequestStatus into Request, and added more enhanced statistics
* minor fixes from codefactor check
* refactored metadata report generator and added CertificationReport.txt, including metadata report
* Remove a space in generic.resoscript

Co-authored-by: Alexander Paz <alexjpaz@users.noreply.github.com>
2020-02-11 19:00:05 -08:00