Tighearnán Carroll
6ce2b8696b
Use fs.FS
abstraction for filesystem ( #550 )
...
* compiles
* mock fs in tests
* fix parser tests
* fix run.go
* rename FeatureFS to FS
* fix docs typos
* remove debug log
* add os.DirFS("./") to default options
* reword docstring
* add fs wrapper
* updated readme and changelog
* added note
* fix changelog
* remove ./ gating from defaults
* add new storage.FS tests
* increase coverage of parser.parsePath
* increase coverage of TestSuite.RetrieveFeatures
* remove another os.Stat
---------
Co-authored-by: Tighearnán Carroll <tighearnan.carroll@gamil.com>
2023-03-27 21:52:51 +02:00
Viacheslav Poturaev
c35ea0b236
Remove deprecation from flags, update example to use CLI flags ( #498 )
...
* Remove deprecation from flags, update example to use CLI flags
* Add comment to ShowHelp option
* Fix test
* Update CHANGELOG.md
2022-08-31 10:17:00 +02:00
Aaron Kaswen-Wilk
d45a9aaaa3
add new option for created features with parsing from byte slices ( #476 )
2022-07-26 15:36:23 +02:00
Viacheslav Poturaev
61730298a5
Add option to run scenarios as *testing.T subtests ( #419 )
2021-08-11 17:19:05 +02:00
Viacheslav Poturaev
b1728ff551
Add new contextualized API for hooks and steps ( #409 )
...
* Add new contextualized API for hooks and steps
* Make default context configurable
* Run AfterStep hooks even after failed steps, fixes #370
* Update CHANGELOG and README
* Add step result status to After hook, fixes #378
* Elaborate hooks documentation
* Add test to pass state between contextualized steps
* Update README with example of passing state between steps
2021-08-03 17:48:05 +02:00
Fredrik Lönnblad
722d97bc48
Added Cobra for the Command Line Interface
2020-07-07 21:13:25 +02:00