Coder Social home page Coder Social logo

leartdd's People

Watchers

 avatar  avatar

leartdd's Issues

homework2 completed

homework 以 TDD 的方式進行,基本上沒什麼問題。

只有兩個小地方提醒:

  1. 命名要留意一下,例如:expect 跟 except 的差異。還有 Book.getPrice() 裡面的 discountBooks 命名會讓人誤會。
  2. 測試案例中 expected 的位置建議不要放在最前面,真的用嘴巴讀一次測試案例,要通順、直覺,才會像需求規格。

homework1 調整事項

  1. 需求 context 的 11 筆 products,沒有在測試案例中呈現,就無法得知 expected 跟測試目標的行為是用來滿足什麼樣的需求。
  2. 看不出來你的 target 是什麼,也無法理解要 act 驗證的行為是什麼,自然就無法呈現需求是要什麼東西。

偏離 homework 的方向太多,可能要再麻煩你調整一下,或提出發問唷。

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.