Giter Club home page Giter Club logo

Comments (7)

naturallymitchell avatar naturallymitchell commented on May 13, 2024

https://github.com/moteus/lua-travis-example

from jazz.

naturallymitchell avatar naturallymitchell commented on May 13, 2024

@dariusc93 let's chat about this sometime

from jazz.

naturallymitchell avatar naturallymitchell commented on May 13, 2024

@dariusc93 srsly

from jazz.

naturallymitchell avatar naturallymitchell commented on May 13, 2024

black_box_testing-300x149

unit tests are more code to maintain, and they don't even verify that the program runs as expected. that's what black box testing is for.

from jazz.

dariusc93 avatar dariusc93 commented on May 13, 2024

Unit test works to make sure the functions work as intended (eg bindings in this case), not exactly to verify the program will run as expected since there are many factors outside the scope of a function that could impact the operation of the program itself. To test to make sure it works as intended as a whole, making/running examples can show that, or have a larger test scale outside of the scope of a bindings to make sure things work as they should, though in this case, probably would also have to be outside the scope of rust itself.

from jazz.

naturallymitchell avatar naturallymitchell commented on May 13, 2024

ideally, we'll test Torchbear with each of FPS' main projects on every change. for example, we have part of File Witness attempting to run with each change right now and something is broken. this is a very useful test because fixing that will ensure that our code and our integrations works as needed. #143

it'd be fairly straightforward to test Simple Webserver with an http request to http://localhost:3000/ that should output the same html document every time. this simple test would cover a lot of components, and alert us with any unforeseen output.

function tests themselves can break, so maintaining them is a bad distraction from maintaining our real code base, especially when code that depends on it would break anyway. Googlers have also made this point in Testing on the Toilet: Test Behavior, Not Implementation.

from jazz.

naturallymitchell avatar naturallymitchell commented on May 13, 2024

this is the highest value plan with the smallest size

from jazz.

Related Issues (20)

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.