This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
eiffel:faq:eiffel-new [2019/07/11 16:37] jonathan |
eiffel:faq:eiffel-new [2019/12/30 17:16] (current) jonathan |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== eiffel-new ====== | + | ====== eiffel-new webapp=== |
+ | |||
+ | [[https://www.eecs.yorku.ca/~eiffel/eiffel-new/ | Use a webapp to create a new Eiffel Project]]. Login required. | ||
+ | |||
+ | ====== eiffel-new from command line====== | ||
''eiffel-new'' is a command line program on our Prism workstations (and the SEL Virtual Machine) to create a new Eiffel project with void safe settings and including the Espec unit testing framework and Mathmodels. | ''eiffel-new'' is a command line program on our Prism workstations (and the SEL Virtual Machine) to create a new Eiffel project with void safe settings and including the Espec unit testing framework and Mathmodels. | ||
Line 23: | Line 27: | ||
{{:eiffel:faq:faq:eiffel-eifgen-directory.png?600|}} | {{:eiffel:faq:faq:eiffel-eifgen-directory.png?600|}} | ||
- | Compile the program and you should see: | + | Compile the program (F7) and you should see: |
{{:eiffel:faq:eiffel-new-estudio.png?740|}} | {{:eiffel:faq:eiffel-new-estudio.png?740|}} | ||
Line 29: | Line 33: | ||
You can see how to set up a unit tests (in the image we show a test of base class ARRAY[G]). | You can see how to set up a unit tests (in the image we show a test of base class ARRAY[G]). | ||
- | If you run the tests you obtain a report on the success (green bar) or failure (red bar) of your project. | + | If you run the tests (''Run'', i.e. F5) you obtain a report on the success (green bar) or failure (red bar) of your project. |
If you want to develop an algorithm for "fizzbuzz" the create a class in the ''model'' cluster and test it with a test in TEST_EXAMPLE. | If you want to develop an algorithm for "fizzbuzz" the create a class in the ''model'' cluster and test it with a test in TEST_EXAMPLE. | ||
+ | |||
+ | {{:eiffel:faq:eifel-new-espec.png?740|}} |