Skip to content

maioni/java-junit-pit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple calculator Java project with JUnit and PITest support in Eclipse IDE

install java JDK

sudo apt install openjdk-17-jdk
sudo ln -sfn /usr/lib/jvm/java-1.17.0-openjdk-amd64 /usr/lib/jvm/java-in-use
nano ~/.bashrc
export JAVA_HOME=/usr/lib/jvm/java-in-use
export PATH=$PATH:$JAVA_HOME/bin
source ~/.bashrc

install eclipse IDE

wget https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2023-03/R/eclipse-jee-2023-03-R-linux-gtk-x86_64.tar.gz -P /tmp
sudo tar xf /tmp/eclipse-*.tar.gz -C /opt
sudo ln -sf /opt/eclipse/eclipse /usr/bin/eclipse
ls -ld /usr/bin/eclipse
which eclipse

update eclipse IDE

Help > Check for Updates > Install Updates > Agree > Trust > Reload
Help > Eclipse Marketplace… > Installed

install pitclipse

http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=1426461

run test cases

at Eclipse >> RIGHT CLICK at Project >> Run As >> JUnit Test

run mutation test

at Eclipse >> RIGHT CLICK at Project >> Run As >> PIT Mutation Test

How to setup and guide about this material

Thank you!

About

A simple Java project with JUnit and PIT support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages