Sismic

Latest version: v1.6.6

Safety actively analyzes 634582 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 10

0.22.10

--------------------

- (Added) A ``--debug-on-error`` parameter for ``sismic-behave``.

0.22.9

-------------------

- (Fixed) Behave step "Event x should be fired" now checks that the event was fired during the last execution.

0.22.8

-------------------

- (Fixed) YAML values like "1", "1.0", "yes", "True" are converted to strings, not to int, float and bool respectively.
- (Changed) ``ruamel.yaml`` replaces ``pyyaml`` as supported YAML parser.
- (Changed) Use ``schema`` instead of ``pykwalify`` (which unfortunately freezes its dependencies versions)
to validate (the structure of) YAML files.
- (Changed) ``import_from_yaml`` raises ``StatechartError`` instead of ``SchemaError`` if it cannot validate given
YAML against the predefined schema.

0.22.7

-------------------

- (Added) A new helper ``coverage_from_trace`` that returns coverage information (in absolute numbers) from a trace.
- (Added) Parameter ``fails_fast`` (default is ``False``, behavior preserved) for ``ExecutionWatcher.watch_with``
methods. This parameter allows the watcher to raise an ``AssertionError`` as soon as the added watcher reaches a
final configuration.
- (Changed) ``StateMixin``, ``Transition`` and ``Event``'s ``__eq__`` method returns a ``NotImplemented`` object
if the other object involved in the comparison is not an instance of the same class, meaning that ``Event('a') == 1``
now raises a ``NotImplementedError`` instead of being ``False``.

0.22.6

-------------------

- (Changed) ``Event``, ``MacroStep``, ``MicroStep``, ``StateMixin``, ``Transition``, ``Statechart`` and
``Interpreter``'s ``__repr__`` returns a valid Python expression.
- (Changed) The context returned by a ``PythonEvaluator`` (and thus by the default ``Interpreter``) exhibits
nested variables (the ones that are not defined in the preamble of a statechart). Those variables are prefixed by
the name of the state in which they are declared, to avoid name clashing.
- (Changed) Context variables are sorted in exceptions'``.__str__`` methods.

0.22.4

-------------------

- (Added) ``sismic-behave`` CLI now accepts a ``--steps`` parameter, which is a list of file paths containing the steps
implementation.
- (Added) ``sismic-behave`` CLI now accepts a ``--show-steps`` parameter, which list the steps (equivalent to
Behave's overriden ``--steps`` parameter).
- (Added) ``sismic-behave`` now returns an appropriate exit code.
- (Changed) Reorganisation of ``docs/examples``.
- (Fixed) Coverage data for ``sismic-behave`` takes the initialization step into account (regression
introduced in 0.21.0).

Page 7 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.