question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extra `foo()` Test Being Displayed

See original GitHub issue

When running kotlintest unit tests, an extra foo() test is being displayed as passing.

Probable cause: https://github.com/kotlintest/kotlintest/blob/master/kotlintest-runner/kotlintest-runner-junit5/src/main/kotlin/io/kotlintest/specs/specs.kt#L8-L10

I am writing tests for a gradle project. Here are the versions. kotlintest version: 3.1.0-RC2 kotlin version: 1.2.41 gradle version: 4.7

Screenshot of the extra foo() test in Intellij. image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sksamuelcommented, May 7, 2018

I’ve made a change that should yield better results. If you want to try it, please try with 3.1.0-RC3.

0reactions
sksamuelcommented, May 11, 2018

3.1.0 final is now released. Closing ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ExtraPropertiesExtension - Gradle DSL Version 7.6
Extra properties extensions allow new properties to be added to existing domain objects. They act like maps, allowing the storage of arbitrary key/value...
Read more >
Adrenocorticotropic Hormone (ACTH): MedlinePlus Medical Test
This test measures the level of adrenocorticotropic hormone (ACTH) in the blood. ACTH is a hormone made by the pituitary gland, ...
Read more >
Clang-Tidy — Extra Clang Tools 16.0.0git documentation
Each check has a name and the checks to run can be chosen using the -checks= ... Clang diagnostics are displayed by clang-tidy...
Read more >
man page Test::More section 3
"ok()" cannot know what you are testing for (beyond the name), but "is()" and "isnt()" know what the test was and why it...
Read more >
General Program Information, Office of Economic Self ...
The quickest way to make changes or check the status of your benefits, while avoiding a wait time, is to use the Self-Service...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found