Skip to content

Commit c421f7c

Browse files
sethaxenoxinabox
andauthored
Use MetaTesting.jl in tests (#284)
* Add MetaTesting as test dependency * Set MetaTesting compat * Use MetaTesting in tests * Increment patch number * Update Project.toml Co-authored-by: Frames White <[email protected]> --------- Co-authored-by: Frames White <[email protected]>
1 parent c16d006 commit c421f7c

File tree

3 files changed

+9
-200
lines changed

3 files changed

+9
-200
lines changed

Project.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRulesTestUtils"
22
uuid = "cdddcdb0-9152-4a09-a978-84456f9df70a"
3-
version = "1.10.1"
3+
version = "1.11.0"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -14,4 +14,11 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1414
ChainRulesCore = "1.11.2"
1515
Compat = "3, 4"
1616
FiniteDifferences = "0.12.12"
17+
MetaTesting = "0.1"
1718
julia = "1"
19+
20+
[extras]
21+
MetaTesting = "9e32d19f-1e4f-477a-8631-b16c78aa0f56"
22+
23+
[targets]
24+
test = ["MetaTesting"]

test/meta_testing_tools.jl

Lines changed: 0 additions & 198 deletions
This file was deleted.

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ using ChainRulesTestUtils
33
using ChainRulesTestUtils: rand_tangent
44
using FiniteDifferences
55
using LinearAlgebra
6+
using MetaTesting
67
using Random
78
using Test
89

910
# in these meta tests, we always want to use `@inferred`
1011
ChainRulesTestUtils.TEST_INFERRED[] = true
1112

1213
@testset "ChainRulesTestUtils.jl" begin
13-
include("meta_testing_tools.jl")
1414
include("iterator.jl")
1515
include("check_result.jl")
1616
include("testers.jl")

0 commit comments

Comments
 (0)