Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Cleanup boa_tester #2440

Closed
wants to merge 3 commits into from
Closed

[Merged by Bors] - Cleanup boa_tester #2440

wants to merge 3 commits into from

Conversation

jedel1043
Copy link
Member

@jedel1043 jedel1043 commented Nov 16, 2022

Just some quality changes to improve the maintainability of the tester:

  • Replaces anyhow with color_eyre to have a better output on errors/panics.
  • Changes the ignore file to a TOML file and replaces all parsing logic with the toml crate.
  • Adds a ignored field on all Tests to simplify run logic.
  • Replaces the global IGNORED with an ignored argument on the CLI.

@jedel1043 jedel1043 added cli Issues and PRs related to the Boa command line interface. test Issues and PRs related to the tests. labels Nov 16, 2022
@jedel1043 jedel1043 added this to the v0.17.0 milestone Nov 16, 2022
@github-actions
Copy link

Test262 conformance changes

Test result main count PR count difference
Total 93,811 93,811 0
Passed 69,620 69,620 0
Ignored 18,452 18,452 0
Failed 5,739 5,739 0
Panics 0 0 0
Conformance 74.21% 74.21% 0.00%

@codecov
Copy link

codecov bot commented Nov 16, 2022

Codecov Report

Merging #2440 (9e4e3d3) into main (ace098f) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2440      +/-   ##
==========================================
- Coverage   52.52%   52.49%   -0.03%     
==========================================
  Files         329      328       -1     
  Lines       34958    34978      +20     
==========================================
+ Hits        18361    18363       +2     
- Misses      16597    16615      +18     
Impacted Files Coverage Δ
boa_tester/src/exec/mod.rs 0.00% <0.00%> (ø)
boa_tester/src/main.rs 0.00% <0.00%> (ø)
boa_tester/src/read.rs 0.00% <0.00%> (ø)
boa_tester/src/results.rs 0.00% <0.00%> (ø)
boa_ast/src/visitor.rs 10.58% <0.00%> (-0.59%) ⬇️
boa_cli/src/helper.rs 0.00% <0.00%> (ø)
boa_examples/src/bin/jstypedarray.rs
boa_engine/src/object/mod.rs 46.09% <0.00%> (+0.10%) ⬆️
boa_gc/src/cell.rs 63.84% <0.00%> (+0.56%) ⬆️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@Razican Razican left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :) thanks for the changes!!

Copy link
Member

@raskad raskad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

boa_tester/src/read.rs Outdated Show resolved Hide resolved
@jedel1043
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Nov 17, 2022
Just some quality changes to improve the maintainability of the tester:

- Replaces `anyhow` with `color_eyre` to have a better output on errors/panics.
- Changes the ignore file to a TOML file and replaces all parsing logic with the `toml` crate.
- Adds a `ignored` field on all `Test`s to simplify run logic.
- Replaces the global `IGNORED` with an `ignored` argument on the CLI.
@bors
Copy link

bors bot commented Nov 17, 2022

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Cleanup boa_tester [Merged by Bors] - Cleanup boa_tester Nov 17, 2022
@bors bors bot closed this Nov 17, 2022
@bors bors bot deleted the tester-cleanup branch November 17, 2022 01:03
bors bot pushed a commit that referenced this pull request Nov 22, 2022
This PR fixes a typo introduced in #2440
@RageKnify RageKnify added the Internal Category for changelog label Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Issues and PRs related to the Boa command line interface. Internal Category for changelog test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants