EcFeed was initially created to support model based testing of Java code. After a while, the connections with Java were loosened, but to show the maximum of the ecFeed's functionality, we will assume that the model represents a Java project. Thus, we will assume basic understanding of the Java code organization (packages, classes) and the syntax (naming rules, types).
All variable names must begin with a letter of the alphabet, an underscore ( _ ), or a dollar sign ( $ ). The convention is to always use a letter of the alphabet. The dollar sign and the underscore are discouraged.
After the first initial letter, variable names may also contain letters and digits from 0 to 9. No spaces or special characters are allowed.
The name can be of any length, but don't get carried away. Remember that you will have to type this name.
Uppercase characters are distinct from lowercase characters. Using ALL uppercase letters are primarily used to identify constant variables. Remember that variable names are case-sensitive.
You cannot use any Java keyword (reserved word) for a variable name.
Before starting the tutorial, have in mind that every new EcFeed account comes with a copy of the 'example' model. It contains everything covered in this tutorial. Do not hesitate to experiment with it. If something goes wrong, it can be downloaded (and imported) from here.
Also, recently a new view mode has been added. To follow the tutorial, the view must be changed to Java. To do it, click on the View menu and select the Java option.
Samples of acceptable variable names: YES | Samples of unacceptable variable names: NO |
Grade | Grade(Test) |
GradeOnTest | GradeOnTest#1 |
Grade_On_Test | 3rd_Test_Grade |
GradeTest | Grade Test (has a space) |