[INF43] Lecture 14 Testing part 4

[INF43] Lecture 14 Testing part 4

软件工程 SoftwareEngineering


@ZYX 写于2020年05月26日

White box testing

  • Use source code to derive test cases
    • Build a graph model of the system
    • State test cases in terms of graph coverage
  • Choose test cases that guarantee different types of coverage
    1. Node/statement coverage
    2. Edge/branch coverage
    3. Loop coverage
    4. Condition coverage
    5. Path coverage

(更多…)

[INF43] Lecture 13 Testing part3

[INF43] Lecture 13 Testing part3

软件工程 SoftwareEngineering


@ZYX

Two overall testing approaches

  1. Black box testing
    1. Specification-based testing
      1. give input and use testing oracle to check whether output is success
  2. White box testing
    1. structural-based testing

(更多…)

[INF43] Lecture 12 Testing part2

[INF43] Lecture 12 Testing part2

软件工程 SoftwareEngineering


@ZYX 写于2020年05月19日

Testing curve

Ways to choose test cases

  1. Intuition
  2. specification black
    1. know something what should they behaved then write the tests
  3. code (white-box testing)
    1. make sure the every line of code works
  4. Existing test cases (regression test)
    1. after making some changes, rerun the previous tests to make sure they can pass
  5. Faults
    1. based on experience, test the area that are likely to have bugs

(更多…)

[INF43] Lecture 11 Testing part 1

[INF43] Lecture 11 Testing part 1

软件工程 SoftwareEngineering


@ZYX

Failures

  1. Boeing 737
    1. Safety doesn’t come first, money comes first
    2. do not modify hardware problem but software because it is cheaper (but not safer)
    3. Do not provide ways for human interven, and assume software is always right
  2. Toyota "Unintended Acceleration"
    1. Spaghetti code
      1. no seperation of concern
      2. high cohesion and low coupling
    2. Untestable and unfixable
      1. fix one bug then create one bug
    3. No peer review
    4. Throw away errors but no addressing
    5. No standard safety check
      (更多…)
[INF43] Lecture 10 Usability and software failure

[INF43] Lecture 10 Usability and software failure

软件工程 SoftwareEngineering


@ZYX 写于2020年05月12日

Interview and obeservation

  1. tacit knowledge: cannot be desribed

Personas

  1. the purpose of these are for you to understand who your users are and you can use them in a couple of different places.
  2. So you create these personas by you need to do some research, a lot of times it’s talking to your customer. And maybe doing some market research about what types of users, there are similar applications and you want to try to find patterns in those usages and create these user groups.
  3. Casual User & Poweful User
    1. Casual User 对产品的需求度不高
    2. Powerful User 对产品需求度很高,而且会用所有functions

(更多…)

[INF43] Lecture 9 How do we structure the software in detail part2

[INF43] Lecture 9 How do we structure the software in detail part2

软件工程 SoftwareEngineering


@ZYX 写于2020年05月01日

Desgin Notation

So it helps us by helping reduce our information overload. And when you have an idea in your mind.

Software Development Languages

  1. Different lanugages are used at diffrernt stages
    Requirements——>Design——> Coding/Testing
    English ——->Diagrams/UML ——->Java/Python

(更多…)

已到首页—已到末页