]> git.lizzy.rs Git - rust.git/commit
Merge #2899
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sat, 25 Jan 2020 11:10:28 +0000 (11:10 +0000)
committerGitHub <noreply@github.com>
Sat, 25 Jan 2020 11:10:28 +0000 (11:10 +0000)
commitadda6dbdf86afac34dc8710965de0018501bbe84
tree293de5972cc82d205443fa511da534d56f0e7bda
parentfb81726ee59a8df5d86ec2a78f959a0e166b8199
parent3137215e8db7aafb17860d30a2d2b39178112366
Merge #2899

2899: Provide more runners for potential tests r=matklad a=SomeoneToIgnore

Based on the https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Runners.20for.20custom.20test.20annotations discussion.

Adds a test runner for every method that has an annotation that contains `test` word in it, allowing to run tests annotated with custom testing annotations such as `#[tokio::test]`, `#[test_case(...)]` and others at costs of potentially emitting some false-positives.

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>