commit
5e3f5a9706
|
@ -29,7 +29,6 @@
|
||||||
- [AWS Lambda With Java](http://www.baeldung.com/java-aws-lambda)
|
- [AWS Lambda With Java](http://www.baeldung.com/java-aws-lambda)
|
||||||
- [Introduction to Nashorn](http://www.baeldung.com/java-nashorn)
|
- [Introduction to Nashorn](http://www.baeldung.com/java-nashorn)
|
||||||
- [Chained Exceptions in Java](http://www.baeldung.com/java-chained-exceptions)
|
- [Chained Exceptions in Java](http://www.baeldung.com/java-chained-exceptions)
|
||||||
- [A Quick JUnit vs TestNG Comparison](http://www.baeldung.com/junit-vs-testng)
|
|
||||||
- [Java Primitive Conversions](http://www.baeldung.com/java-primitive-conversions)
|
- [Java Primitive Conversions](http://www.baeldung.com/java-primitive-conversions)
|
||||||
- [Java Money and the Currency API](http://www.baeldung.com/java-money-and-currency)
|
- [Java Money and the Currency API](http://www.baeldung.com/java-money-and-currency)
|
||||||
- [JVM Log Forging](http://www.baeldung.com/jvm-log-forging)
|
- [JVM Log Forging](http://www.baeldung.com/jvm-log-forging)
|
||||||
|
|
|
@ -15,3 +15,4 @@
|
||||||
- [The Order of Tests in JUnit](http://www.baeldung.com/junit-5-test-order)
|
- [The Order of Tests in JUnit](http://www.baeldung.com/junit-5-test-order)
|
||||||
- [Running JUnit Tests Programmatically, from a Java Application](https://www.baeldung.com/junit-tests-run-programmatically-from-java)
|
- [Running JUnit Tests Programmatically, from a Java Application](https://www.baeldung.com/junit-tests-run-programmatically-from-java)
|
||||||
- [Testing an Abstract Class With JUnit](https://www.baeldung.com/junit-test-abstract-class)
|
- [Testing an Abstract Class With JUnit](https://www.baeldung.com/junit-test-abstract-class)
|
||||||
|
- [A Quick JUnit vs TestNG Comparison](http://www.baeldung.com/junit-vs-testng)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.throwsexception;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
public class Calculator {
|
public class Calculator {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.throwsexception;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
public class DivideByZeroException extends RuntimeException {
|
public class DivideByZeroException extends RuntimeException {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.throwsexception;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung.java.suite.childpackage1;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung.java.suite.childpackage2;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung.java.customtestname;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung.java.parameterisedsource;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung.java.parameterisedsource;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
public enum PizzaDeliveryStrategy {
|
public enum PizzaDeliveryStrategy {
|
||||||
EXPRESS,
|
EXPRESS,
|
|
@ -1,7 +1,5 @@
|
||||||
package org.baeldung.java.suite;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
import org.baeldung.java.suite.childpackage1.Class1UnitTest;
|
|
||||||
import org.baeldung.java.suite.childpackage2.Class2UnitTest;
|
|
||||||
import org.junit.platform.runner.JUnitPlatform;
|
import org.junit.platform.runner.JUnitPlatform;
|
||||||
import org.junit.platform.suite.api.SelectClasses;
|
import org.junit.platform.suite.api.SelectClasses;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung.java.suite;
|
package com.baeldung.junit5vstestng;
|
||||||
|
|
||||||
import org.junit.platform.runner.JUnitPlatform;
|
import org.junit.platform.runner.JUnitPlatform;
|
||||||
import org.junit.platform.suite.api.SelectPackages;
|
import org.junit.platform.suite.api.SelectPackages;
|
|
@ -11,7 +11,7 @@ import org.junit.jupiter.api.BeforeAll;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
public class SummationServiceIntegrationTest {
|
public class SummationServiceUnitTest {
|
||||||
private static List<Integer> numbers;
|
private static List<Integer> numbers;
|
||||||
|
|
||||||
@BeforeAll
|
@BeforeAll
|
Loading…
Reference in New Issue