Skip to content

Commit 68f53ad

Browse files
authored
JUnit5 Assertions to Assert J assertions pre-packaged declarative recipes (#38)
1 parent aae1f47 commit 68f53ad

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# Copyright 2020 the original author or authors.
3+
# <p>
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# <p>
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
# <p>
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
---
17+
type: specs.openrewrite.org/v1beta/recipe
18+
name: org.openrewrite.java.testing.JUnit5AssertionsToAssertJMigration
19+
recipeList:
20+
- org.openrewrite.java.testing.junitassertj.AssertArrayEqualsToAssertThat
21+
- org.openrewrite.java.testing.junitassertj.AssertEqualsToAssertThat
22+
- org.openrewrite.java.testing.junitassertj.AssertFalseToAssertThat
23+
- org.openrewrite.java.testing.junitassertj.AssertNotEqualsToAssertThat
24+
- org.openrewrite.java.testing.junitassertj.AssertNotNullToAssertThat
25+
- org.openrewrite.java.testing.junitassertj.AssertNullToAssertThat
26+
- org.openrewrite.java.testing.junitassertj.AssertSameToAssertThat
27+
- org.openrewrite.java.testing.junitassertj.AssertTrueToAssertThat
28+
- org.openrewrite.java.testing.junitassertj.JUnitFailToAssertJFail
29+
- org.openrewrite.java.UseStaticImport:
30+
methodPattern: "org.assertj.core.api.Assertions *(..)"

0 commit comments

Comments
 (0)