testcase - Ruby Test Cases -


I have a task to write some test cases on Ruby. The job is in the form of an example:

  1. Visit some websites.
  2. Enter a text in the text box
  3. Press the submit button
  4. (value)
  5. Take that the user was redirected to the correct page)
  6. (assuming the user was given the correct information)

So, the question is, With a large number of invasions to organize the test cases. Should I check the example 2 that step 2 happened and only after that go to the next step, because if step 2 fails, then there is no point in moving forward. I do not know how to organize such test cases.

Your approach looks appropriate, if any step depends on the preceding phase, It seems like if the previous step has failed. If the steps on dependency fail, then it can be assumed that all subsequent dependent steps will also fail. Overall, you should be forced to think yourself like a computer and should paint each stage of the investigation of this process. Separate each step in sequence and make sure they are working properly.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -