Skip to content
kkott00 edited this page Feb 15, 2013 · 3 revisions

Avoid using server side data

I consider that is wrong point to check result of some operation in database records. If you have such need it may a signal that application have wrong behavior cause user any actions always should be followed some visible result. So if user wrote the comment test should check if this comment posted somewhere, if set some checkbox - get some notification about settings changed, submit some form - to see log of form status.
But if you need to check some server side data in spite of my humble opinion it can be made as some debug log available through AJAX.
Fell free to post and vote for issues if you really need to get data from server side I will appreciate you ideas.

First feature file is config file

I don't want to make separate config files for test. My approach is to make test step and config in form of feature file. That is why I added some steps to standard library for test configuration and feature file dispatching. So I suggest to make initial feature file in the following form:

    Feature: Initial
    
    Scenario: Press button
      Set step delay to 5 sec
      Enable animation
      Run feature file "feature_1"
      Load library "special library"
      Run feature file "feature_2"
      ...
      Run feature file "feature_N"

It also allow to diminish changes in feature file which made by other persons

Clone this wiki locally