• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

renatahodovan / grammarinator / 5187039486
84%

Build:
DEFAULT BRANCH: master
Ran 06 Jun 2023 09:44AM UTC
Jobs 1
Files 20
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5187039486

push

github

web-flow
Simplify GeneratorTool by removing the complexity of generator instantiation (#111)

Instead of requiring several hard-coded parameters to guide the
instantiation of the generator with a specific set of models and a
given set of listeners, all that logic is encapsulated into a
so-called generator factory.

A generator factory is a generalization of a generator class: it
has to instantiate a generator object. But it has to set the
decision model and the listeners of the generator as well. (In the
simplest case, it can be a generator class, but in more complex
scenarios - like the `grammarinator-generate` script - some wrapper
is needed.)

This generalization helps to greatly simplify the API of the
`GeneratorTool` and also simplifies its internal implementation.

Also moved the responsibility of reproducibility from the tool to
the script.

Also removed the support for string parameters in
`GeneratorTool.__init.__`. Passing a generator factory as a string
is not possible, so other parameters should not bother about string
values either. Integration into the Fuzzinator framework should be
implemented separately.

1173 of 1325 relevant lines covered (88.53%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5187039486.1 06 Jun 2023 09:44AM UTC 20
88.53
Source Files on build 5187039486
  • Tree
  • List 20
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d05dde73 on github
  • Prev Build on master (#5182747856)
  • Next Build on master (#5188582874)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc