Skip to content

NCTU Software Testing Class HW1 - google test with triangle, commission, nextdate problems

Notifications You must be signed in to change notification settings

sufuf3/ST2017-hw1-gtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ST2017-hw1-gtest

Set the Google test on Ubuntu

  1. cd ~/
  2. wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz
  3. tar zxvf release-1.8.0.tar.gz
  4. mkdir ~/ST2017-hw1-gtest
  5. cd ~/ST2017-hw1-gtest
  6. cp -r ~/googletest-release-1.8.0/googletest ~/ST2017-hw1-gtest/gtest
  7. cd ~/ST2017-hw1-gtest/gtest/make
  8. make
  9. mv gtest_main.a libgtest.a

Add hw floder

  1. mkdir ~/ST2017-hw1-gtest/[hw]
  2. cd ~/ST2017-hw1-gtest/[hw]
  3. Add files
  4. g++ triangle.cpp test.cpp -I ../gtest/include -L ../gtest/make -lgtest -lpthread -o test
  5. ./test

list

Triangle problems

  • Boundary value testing
  • Equivalence class testing
  • decision table based testing

NextDate problems

  • Boundary value testing
  • Equivalence class testing
  • decision table based testing

Commission problems

  • Boundary value testing
  • Equivalence class testing
  • decision table based testing

About

NCTU Software Testing Class HW1 - google test with triangle, commission, nextdate problems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published