Skip to content

Add support for running the test sub-command with the bisect script #22796

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
merged 1 commit into from
Mar 14, 2025

Conversation

Gedochao
Copy link
Contributor

Example usage:

scala project/scripts/bisect.scala --jvm 17 -- --bootstrapped --releases 3.6.4-RC1-bin-20241120-bd07317-NIGHTLY... test smth.test.scala

smth.test.scala

//> using dep org.scalameta::munit::1.1.0
//> using platform js

class MyTests extends munit.FunSuite {
  test("foo") {
    assert(2 + 2 == 4)
  }
}

Allowed to bisect #22794

@Gedochao Gedochao added the area:dx Issues tied to the developer experience when working on the compiler. label Mar 13, 2025
@Gedochao Gedochao merged commit c9eaa14 into scala:main Mar 14, 2025
29 checks passed
@Gedochao Gedochao deleted the maintenance/bisect-test branch March 14, 2025 06:44
tgodzik pushed a commit to scala/scala3-lts that referenced this pull request Apr 26, 2025
…scala#22796)

Example usage:

```bash
scala project/scripts/bisect.scala --jvm 17 -- --bootstrapped --releases 3.6.4-RC1-bin-20241120-bd07317-NIGHTLY... test smth.test.scala
```

`smth.test.scala`
```scala
//> using dep org.scalameta::munit::1.1.0
//> using platform js

class MyTests extends munit.FunSuite {
  test("foo") {
    assert(2 + 2 == 4)
  }
}
```

Allowed to bisect scala#22794
[Cherry-picked c9eaa14]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dx Issues tied to the developer experience when working on the compiler.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants