Junit单元测试
Junit单元测试
package com.beyondx.test;
import org.junit.Test;
/**
* @author beyondx
* @create 2021-11-02 21:00
*/
public class JUnitTest {
@Test
public void testAdd(){
int a = 1;
int b = 2;
int result = a + b;
System.out.println(result);
}
}
Junit4, API
https://junit.org/junit4/javadoc/latest/index.html
参考链接