Git Product home page Git Product logo

lab8_starter's Introduction

Lab 8 - Starter

  1. Where would you fit your automated tests in your Recipe project development pipeline? Select one of the following and explain why.

If I could only choose one of the thre eotions, I would choose to fit my automated tests within a github action that runs whenever code is pushed. I think this is important beacuse other checks can run in the pieline that may alter your code (either with formatting or style) and so it is a good idea to make sure the tests get run after all of this too and is passing all of the tests at this stage at the very last stage before it can get pushed into the main branch.

  1. No
  2. From the way the quesiton is formatted, it looks like the feature involves mmay parts of thee application front end and back end components seem to be involved. Unit testing is best used when dealing with induvidual parts of code. So, this means testing one function and seeing if it returns the right value given certain paramteters. But, testing a feature like messaging that invovles many parts does not seem feasable for unit testing.
  3. Yes, it seeems like testing the “max message length” feature would involve teesting a single function that does this check. With this, unit tests could be made that would check that by given various parameters to thee function and making sure the correct output is returned.

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.