Skip to content

Releases: software-mansion/protostar

v0.2.2 `__setup__` hook

07 Jun 08:38
Compare
Choose a tag to compare
  • added __setup__ testing hook
  • added support for glob patterns to select test files and test cases
    • added --ignore flag
    • changed --target flag to accept a list of globs
    • removed --omit flag
  • improved error feedback of expect_events cheatcode
    171656440-14412c35-bbcd-42fb-ac91-ad58e36655cd
  • fixed the bug that froze Protostar
  • (probably) fixed the SSL issue that could occur during upgrading and deploying
  • other minor fixes and improvements

How to upgrade Protostar

Run protostar upgrade.
In case of issues, run the following script:

curl -L https://raw.githubusercontent.com/software-mansion/protostar/master/install.sh | bash

v0.2.2 pre-release

01 Jun 13:32
Compare
Choose a tag to compare
v0.2.2 pre-release Pre-release
Pre-release
v0.2.2-01-pre-release

Merge branch 'master' into fix/ssl-issue

v0.2.1 deploy cmd & configuration profiles

25 May 09:22
Compare
Choose a tag to compare

Protostar 0.2.1

Changelog

  • added deploy command
  • added support for configuration profiles
  • updated start_prank to support contracts deployed by deploy_contract cheatcode 
  • updated cairo-lang to version 0.8.2.1
  • updated test collector to load tests to the memory before running tests, what allows working on the project and running tests at the same time
  • renamed main directory from src to protostar
  • removed --match flag of test command
  • fixed exit codes (Protostar used to return exit code 0 despite failing tests)

How to upgrade Protostar

Run protostar upgrade.
In case of issues, run the following script:

curl -L https://raw.githubusercontent.com/software-mansion/protostar/master/install.sh | bash

v0.2.0 test performance

09 May 14:31
Compare
Choose a tag to compare

Protostar 0.2.0

Changelog

  • Significantly improved tests performance (state caching, multiprocessing).
  • Added expect_events cheatcode.
  • Added support for configuring any command parameter from the protostar.toml.
  • Added CLI reference documentation.
  • Improved testing output.
  • -Changed expect_revert to compare error_message against all detect error messages.
  • Added min git version requirement.
  • Improved help descriptions.
  • Changed the examples generated by protostar init.
  • Changed protostar init to not create a new git repository if it can be found.
  • Fixed error message when Protostar didn't find any test file.
  • Protostar searches for repo in parent repositories.
  • Fixed protostar upgrade.
  • Deprecated the callback returned by the expect_revert cheatcode.
  • Reduced technical debt.

How to upgrade Protostar

Please run the following script. Protostar upgrade could not work as expected.

curl -L https://raw.githubusercontent.com/software-mansion/protostar/master/install.sh | bash

v0.2.0

0_2_0.mov

v0.1.0

0_1_0.mov

v0.1.0

12 Apr 14:09
Compare
Choose a tag to compare
update protostar (0.1.0)

Test release #1

08 Apr 08:29
d814898
Compare
Choose a tag to compare
v0.0.1

hotifx except_revert (#161)