Releases: lancetipton/parkin
Releases · lancetipton/parkin
v5.0.0
V5-disabled tags and timeouts (#37)
Features
-
V5-disabled tags and timeouts by @lancetipton in #37
- Add
tags
to steps and background
- Add
-
Promise timeout by @lancetipton in #35
- Add
timeout
to test and describe
- Add
-
Change
parkin.run
options- Allow passing tags to filter and disable tests
- Will also allow future updates to add other tag types
- Add disabled tag check for feature and properties
- Add filtering background from tags in runner
-
Update step
context object
- The last argument of a step def now gets passed
- the current
world object
- the parsed
step object
- A custom
options
object passed in at run time - The parsed
doc-string
, andtable
of they exist in the step
- the current
- pass step options to step method ctx object
- add doc-string and table to step def context object
- add step to step context object
- The last argument of a step def now gets passed
-
Add print results to parkin cli with options
- This is temporary until
reporters
are added - Allow passing feature parse and parkin run options as cli arguments
- Add config file option to parkin cli
- This is temporary until
-
Parkin v4.1.0 by @lancetipton in #26
- Add parkin metadata by @lancetipton in #26
- Fully migrate parkin to typescript
- Breaking change: Use parsed features relative location to generate uuid
- UUID will eventually be migrated to id instead
- A random uuid is no longer generated
-
Parkin 4.1.1 by @lancetipton in #33
- Disable world feature parse by @lancetipton in #31
- feat: switch to pnpm by @lancetipton in #27
Chores
- Update pull-req template
- Add parkin cli tests to pre-build and Github action
- Update dependencies in #37
- This forces a switch to the jasmine-2 test runner
- Need to investigate migrating to jest-circus
- This is only used for the tests that test the Parkin repo
- Executing features files is not impacted by this
- This forces a switch to the jasmine-2 test runner
Fixes
- Fix world in step runner by @lancetipton in #34
- World and alias replace in steps was not replacing correctly
- This is now fixed by running replace on the step string prior to matching with a step-definition
- World and alias replace in steps was not replacing correctly
- Parkin cli tests runner clean up and fixes
- Add a lot more tests, and added some options to match running tests from code
- fix: hooks types by @lancetipton in #29
BREAKING CHANGE: Changes the parkin.run
options
- Filters are now passed in under the
tags
property of the run options object - Exmaple
Parkin.run({
// ...other options
tags: {
// ... New option to disable tests via a tag
disable: `@disabled`,
// ... Add filter tags here
filter: `@my-filter-tag`
// ...Other options here
}
})
v3.0.1
What's Changed
- Fix: bug in step token parsing by @lancetipton in #24
- Publish version 3.0.1 by @lancetipton in #25
Full Changelog: v3.0.0...v3.0.1
v3.0.0
What's Changed
- fix: minor tweak to step regex 484884e
- feat: Add index method to properly set the index during assemble b3068c2
- chore: add validation checks in findIndex 98f2d3c
- feat: add formatters and tests 9a9dfe5
- feat: Include original option text as valid text when matching a step b208853
- feat: add token options for matcher step tokens 2088b66
- fix: mock to include uuid 01ae98c
- feat: Performance update 33f0df7
- fix: step def token parsing b317506
- feat: Update step regex parsing e4a7daa
- fix: tsconfig was ignored?? bbab833
- fix: Parse tags for rules and scenario children a80d894
v2.0.0
What's Changed
- feat(world): Add world replace to features by @lancetipton in #11
- Version 1.0.0 by @lancetipton in #12
- feat(runner): Add ability to print spec results to the terminal as stringified json objects by @lancetipton in #13
- Updating parkin to version 1.1.1 by @lancetipton in #15
- version: 1.2.1 by @lancetipton in #16
- fix: Patching docs by @lancetipton in #17
- version: 1.3.0 by @lancetipton in #18
- Updating parkin to version 1.4.0 by @lancetipton in #19
- feat(parkin): Add matchers to Parkin class by @lancetipton in #20
- feat(parkin): v2.0.0 by @lancetipton in #21
Full Changelog: 0.5.1...v2.0.0
Table and Doc-String Parsing
Changes
- Added parsing for doc strings (#9 )
- Added parsing for data-tables (#9 )
- Added more tests for feature parsing (#9 )
- Added more tests for backgrounds
- Fixed runner to properly run backgrounds (#9 )
- Now runs them as tests, and not in a before all block
- Added tests for parsing doc-strings and data-tables
- Extracted Step parsing to own file (#9 )
- Updated runner describe titles (#10 )
- Added maxWorkers to test script (#10 )
Fixes
Definition Metadata and Feature Background
Changes
Definition Parse
- Remove string file parsing
- Now uses a dynamically built function that's called within the current global scope
- This allows
- Using the current environment to register steps
- Any functions or modules available in the current scope can be used
- Removes regex string parsing which can lead to bugs
Added definition validation
- Checks to see if definition already exists
- If it does, then it's skipped
Added background
- Now support background in a feature file
- Background steps run before each scenario
- Uses jests beforeAll inside the scenario's describe block
Added more test
- Improved test converate - Over 90% coverage
- Cleaned up folder structure - Files are better organized
Initial Release
Initial Release