Git Product home page Git Product logo

calculator's Introduction

Calculator

เว็บแอปพลิเคชันเพื่อแสดงตัวอย่างการเขียนกรณีทดสอบ โดยใช้ Laravel 5.4 และ PHPUnit เพื่อการทดสอบ

ความต้องการเบื้องต้น

รายการซอฟต์แวร์ รุ่นขั้นต่ำ รุ่นที่แนะนำ รุ่นที่ใช้พัฒนา
PHP >=5.5 5.5 7
composer 1.4.2 1.4.2 1.4.2

การติดตั้ง

  1. ดาวน์โหลด we-inc/calculator ด้วยคำสั่ง

    git clone https://github.com/we-inc/calculator
    
  2. อัพเดต lib ด้วยคำสั่ง composer

    cd calculator && \
    composer update
    
  3. กรณีทดสอบจะอยู่อยู่ภายในโฟลเดอร์

    + tests
        + Features
        |  + AddControllerTest.php
        |  + MinusControllerTest.php
        + Unit
    
  4. สร้างกรณีทดสอบโดยใช้คำสั่ง

    php artisan make:test SomeTestCaseTest
    

    เพื่อสร้างกรณีทดสอบสำหรับหน้าที่การใช้งานตัวไป และ

    php artisan make:test SomeControllerTest --unit
    

    สำหรับกรณีทดสอบสำหรับคลาสใดคลาสหนึ่ง

  5. ทดสอบซอฟต์แวร์ด้วยกรณีทดสอบที่สร้างขึ้นด้วยคำสั่ง phpunit ณ โฟลเดอร์ชั้นบนสุดของโปรเจค

    phpunit

    เมื่อผลการทดสอบเสร็จสิ้น จะมีผลลัพธ์การดำเนินการแสดงให้ทราบ

ข้อมูลเพิ่มเติม

ข้อมูลเพิ่มเติมสำหรับกรณีทดสอบ

calculator's People

Contributors

bright-coder avatar sitdh avatar

Stargazers

 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.