GithubHelp home page GithubHelp logo

testing-method's Introduction

Homework for Software Testing 2022

This program is meant to test a "sum" function, which calculate the sum of 2 input integer number. 2 methods chosen to be used on this homework is "Boundary Value Analysis" & "Equivalent Partitioning Testing".

File structure

  1. sum.cpp : contains the "sum" function, which needs to be tested.
  2. TestByHand.cpp : optional file to try out some unexpected input and some weird cases. Disclaimer: This is not a part of the homework, only use for convenience.
  3. BoundaryValue.cpp : contains tests by boundary values analysis method.
  4. EquivalentPartitioning.cpp : contains tests by equivalent partitioning testing method.

How to use

Just run the 3rd and/or 4th file, results of the tests will be printed into the screen.


Bài tập Kiểm thử Phần mềm 2022

Chương trình này được viết ra nhằm kiểm thử hàm "sum" - hàm tính tổng 2 số integer từ đầu vào. 2 phương pháp kiểm thử được sử dụng trong bài tập này là "Phân tích giá trị biên" & "Kiểm thử Lớp Tương đương".

Cấu trúc thư mục

  1. sum.cpp : chứa hàm "sum" cần được kiểm thử.
  2. TestByHand.cpp : thư mục tùy chọn để tự thử các trường hợp lạ. Disclaimer: Thư mục này không phải một phần của yêu cầu trong bài tập.
  3. BoundaryValue.cpp : chứa các test sử dụng phương pháp phân tích giá trị biên.
  4. EquivalentPartitioning.cpp : chứa các test sử dụng phương pháp kiểm thử lớp tương đương.

Sử dụng

Chỉ cần chạy thư mục ở mục 3 và 4 nêu trên, kết quả của các test sẽ được in ra màn hình.

testing-method's People

Contributors

ngtrthinh169tpc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.