Giter Site home page Giter Site logo

assignment1test's Introduction

Assignment 1 Test

Made by:

1. Reflection

1. Shooting

  • She did not hit him
  • The gun was not powerful enough to kill him
  • He might already have been dead
  • The man is immortal so he can not be killed (Hit and arm, leg etc)
  • He had a bullet-proof vest on
  • He was standing at a range where he was too far away to die from the impact
  • The gun did not function properly
  • She was shooting at the mans reflection in the mirror

1. Alien

Step 1: First grab the toothpaste from the holder
Step 2: Screw of the cap counter-clockwise til the cap comes off completely
Step 3: Next up figure out which hand is your preferable to brush with
Step 4: With your preferable hand grab the toothbrush from the holder by the shaft so that the bristles are pointing upwards
Step 5: Squeeze some paste on to the bristles of the toothbrush and should be the size of your little finger
Step 6: Open your mouth and gently stick the toothbrush until it hits the your morals on either the right or left side
Step 7: Brush each tooth in small circular movement until they feel smooth
Step 8: Feel free to spit out the toothpaste so you don't swallow it.
Step 9: When all your teeth are smooth take the toothbrush out of your mouth
Step 10: Rinse your mouth with water and spit out any toothpaste residue left in your mouth
Step 11: Rinse the toothbrush bristles thoroughly and place in back in the holder

2. Two Katas

⚠️ Look in the source code folder

1. FAHRENHEIT-TO-CELCIUS CONVERTER

Use BDD to create a fahrenheit-to-celcius converter. Use BDD to extend it to a celcius-to-fahrenheit converter.

2. ROMAN NUMERAL KATA

Implement an “Arabic numeral to roman numeral” converter using BDD

What was positive and good about using BDD?

As a developer it gave me high visibility in terms of user requirements, since you start out by specifying a behavior, which is written in a simple neutral language. This is great if I was for example working in close collaboration with product owners, analysts or QAs.

Furthermore it works great to kinda specify the surface behavior and then implement it in the code rather than have more overall focus on the implementation.

Another good reason is that the application will be documented and designed around the behavior a user expects to experience when interacting with it.

What was annoying or difficult?

We found it difficult to create a behavior implementation in BDD without having a user to interact with an interface. Therefore creating a given when then scenario without a user made it more challenging to communicate with the customer.

What surprised you?

It surprised us that we had to combine normal language and then convert it to a programming language. It surprised us as well how agile this approach is and therefore focus was much more on the behavior than the actual implementation.

Did BDD help you understand the problem domain more

Yes indeed, it works great by specifying what behavior you expect for each feature, and therefore kinda gives you clear visibility of what is expected.

Did BDD help you write some tests you wouldn’t otherwise have thought of?

Yes as a developer we are rather used to focus on the development of individual components rather having a similar process just on the level of features.

assignment1test's People

Contributors

fiske-halsen avatar sumitdd avatar

Watchers

James Cloos avatar  avatar

Forkers

sumitdd

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.