Commit Graph

43 Commits

Author SHA1 Message Date
Emmanuel Briot 3734fb9b14
Merge pull request #6 from Irvise/patch-1
Fix documentation link.
2021-10-25 16:51:46 +02:00
Irvise 70fff80806
Fix documentation link. 2021-10-25 16:49:33 +02:00
Emmanuel Briot 6e92c008e7 Add support for @and and @but when writing steps
This matches the Cucumber documentation.
Fixes #3
2021-04-15 11:55:52 +02:00
Emmanuel Briot 936b2e0327 remove use of some anonymous access types
Newer GNAT compilers complain about accessibility check failures.
Use GNATCOLL.Refcount.Shared_Pointers instead of Smart_Pointers, as the
 latter has been Obsolescent for years now.
2021-04-15 09:21:22 +02:00
Emmanuel Briot 0c65f972b9 Fix building this library with GNAT GPL 2017 2017-07-05 11:02:02 +02:00
Emmanuel Briot b8dd78fb8e Add README.md file 2016-01-27 09:54:23 +01:00
Emmanuel Briot 2b6d74f802 Minor renamings 2016-01-27 09:43:15 +01:00
Emmanuel Briot b1f55e8e5a Add support for @setup_driver and @setup_feature annotations 2015-06-15 11:24:02 +02:00
Emmanuel Briot 31973ca3df Fix handling of optional parenthesis groups 2015-06-12 21:15:11 +02:00
Emmanuel Briot 6a990345c9 Add support for list of parameters sharing same type name
Exit with failure status when there is an error parsing a feature file
2015-06-12 21:06:41 +02:00
Emmanuel Briot c2a6d39687 Add initial support for predefined regexps.
These are hard-coded for now.
They also will not all work properly, since they need support for
non-grouping parenthesis in g-regpat.ads
2014-06-06 12:59:58 +02:00
Emmanuel Briot dfc490af5a Clarify the role of gnatbdd and the driver in the documentation 2014-06-06 11:40:41 +02:00
Emmanuel Briot 77d79c5311 Add tutorial 2014-06-06 10:10:54 +02:00
Emmanuel Briot 8e1fee43a9 Add support for specifying the name of the driver for gnatbdd 2014-06-05 16:56:41 +02:00
Emmanuel Briot de179bcbdd Add support for command line in gnatbdd, in particular -P
Add 'make install', and reorganize projects so that the generate project
now depends on gnatbdd.gpr.
2014-06-05 16:33:45 +02:00
Emmanuel Briot 6268f45432 Improve the asserts library 2014-06-05 12:16:26 +02:00
Emmanuel Briot c0535d7b50 Provide HTML output
This improves the framework for outputs, since the difference between
HTML and text output is only done at the lowest-level (user-overridable)
level. Other outputs could be done similarly now that the framework is in
place
2014-06-05 11:34:10 +02:00
Emmanuel Briot 3b9f0c149a Add support for comparing tables
Review the code in bdd-asserts_generic so that exceptions can be extended
to include advanced information like table or multiline diffs.
2014-06-04 15:11:28 +02:00
Emmanuel Briot c2d5d27f84 Add support for running scenario outlines 2014-06-03 18:14:22 +02:00
Emmanuel Briot 1197e90be6 Generate code from the step definitions
We now also generate a project file for the driver, compile it, and
run it for our first calculator testsuite.
2014-06-02 21:14:43 +02:00
Emmanuel Briot 29668421fc Complete the parsing of the steps file (but no code generation yet) 2014-02-14 15:20:36 +01:00
Emmanuel Briot de799205d9 Add various ideas and input from meetings with people around the office 2014-02-14 15:20:13 +01:00
Emmanuel Briot a6e669fc89 Add documentation on how to define steps 2014-02-10 15:40:06 +01:00
Emmanuel Briot 79e951e504 regexps for steps should not include leading 'Given|Then|...' 2014-02-10 11:56:30 +01:00
Emmanuel Briot 162bfb4237 Check whether skipped tests are actually defined 2014-02-10 11:14:46 +01:00
Emmanuel Briot 2d45334844 Add support for highlighting the parts of the regexp that match parenthesis 2014-02-10 10:48:17 +01:00
Emmanuel Briot d81d6939ea Initial example on how to compare regexps for steps
Display exceptions when a step fails
2014-02-07 22:08:27 +01:00
Emmanuel Briot 3d047da00b Add initial support for tables 2014-02-07 18:13:32 +01:00
Emmanuel Briot 424668575d Add support for Background 2014-02-07 16:44:49 +01:00
Emmanuel Briot 2bc5926b78 Display multi-line arguments when displaying steps 2014-02-07 15:54:00 +01:00
Emmanuel Briot dfdeb59b89 Display the stats after execution of all features 2014-02-07 15:27:50 +01:00
Emmanuel Briot 8aca16cbcb Make Scenario and Feature reference-counted.
The 'dots' output now displays a proper summary of the execution at the end,
showing all non-passed tests
2014-02-07 14:48:25 +01:00
Emmanuel Briot 0f8363c858 Add basic support for steps display 2014-02-07 12:45:20 +01:00
Emmanuel Briot 6ed248afa3 Also make Feature an access type, for consistency.
This also ensures that the parser does not have to care about unique
ids for features, this is taken care of automatically, making the task
of writting new parsers easier.
2014-02-07 11:40:10 +01:00
Emmanuel Briot f6757fc64b Make Scenario an access type
This is in preparation for storing it long term in the Feature, which
would be useful for some formatters. This also clarifies the life time
of the scenario.
2014-02-07 11:24:20 +01:00
Emmanuel Briot a98955c033 New formatters, and progress bar for 'full', 'quiet' and 'hide_passed' 2014-02-06 18:11:45 +01:00
Emmanuel Briot 04f5d7825d Basic command line handling 2014-02-06 17:19:45 +01:00
Emmanuel Briot e52dd57fc4 Add support for Formatters 2014-02-06 15:40:07 +01:00
Emmanuel Briot b6e2af0284 Initial version of the parser 2014-02-06 13:29:13 +01:00
Emmanuel Briot 921a40ee8e move GNATCOLL.Terminal to GNATCOLL itself
N203-036
2014-02-03 17:58:32 +01:00
Emmanuel Briot 18c134745d (Beginning_Of_Line, Clear_To_End_Of_Line): new subprograms 2014-02-03 17:34:54 +01:00
Emmanuel Briot 8fc37d9c28 On UNIX, auto-detect whether a file descriptor supports colors 2014-02-03 16:32:42 +01:00
Emmanuel Briot eedc41435b Initial revision 2014-02-03 16:01:23 +01:00