Skip to content

Releases: lancetipton/parkin

v5.0.0

01 Jul 22:02
c0bdf70
Compare
Choose a tag to compare

V5-disabled tags and timeouts (#37)

Features

  • V5-disabled tags and timeouts by @lancetipton in #37

    • Add tags to steps and background
  • Promise timeout by @lancetipton in #35

    • Add timeout to test and describe
  • 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, and table of they exist in the step
    • pass step options to step method ctx object
    • add doc-string and table to step def context object
    • add step to step context object
  • 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
  • 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

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

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
  • 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

07 May 21:20
acf0822
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

06 May 16:18
Compare
Choose a tag to compare

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

05 Feb 02:24
f005e4c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.1...v2.0.0

Table and Doc-String Parsing

20 Apr 08:11
Compare
Choose a tag to compare

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

  • Added some fixes to background parsing (#9 )
  • Fixed parser Scenario steps (#9 )
    • Fixed bug so Scenario's get the correct steps

Definition Metadata and Feature Background

22 Mar 18:08
Compare
Choose a tag to compare

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

12 Feb 18:40
3f0ba39
Compare
Choose a tag to compare

Initial Release