Changeset 4 for trunk


Ignore:
Timestamp:
05/01/07 17:03:03 (5 years ago)
Author:
dom
Message:

Updated README and acceptance tests for improved testing_server

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r2 r4  
    33331> make:all(). 
    3434 
    35 then run the tests to ensure that xpdojo is working on your platform: 
     35then run the tests to ensure that Extreme Forge is working on your platform: 
    3636 
    37372> xpdojo:test_files(".."). 
     
    4343 
    4444This means that all unit and acceptance tests have passed. If the 
    45 numbers are different, some things are not working as expected. 
     45two numbers following each phase (modules, unit, acceptance) are 
     46different from each other, some things are not working as expected. 
    4647 
    4748Using 
     
    5354 
    5455Or, for a more interesting experience, run the continuous testing 
    55 server: 
     56server, e.g.: 
    5657 
    57 4> testing_server:start("/some/path/to/source", fun(M) -> 
    58 io:fwrite("~p~n", [M]) end, xpdojo:default_options()). 
     584> Pids = testing_server:start("/some/path/to/source", "/tmp/log.txt"). 
     59 
     60Then, "tail -f /tmp/log.txt" from shell or an emacs compilation buffer 
     61to view the output. 
     62 
     63To stop the testing_server: 
     64 
     655> testing_server:stop(Pids). 
    5966 
    6067Read src/test_files_acceptance.erl for more details (such as 
  • trunk/ebin

    • Property svn:ignore set to
      *.beam
  • trunk/src/test_files_acceptance.erl

    r2 r4  
    366366                  {Key, [{acceptance, 0, 0}, {unit, 1, 1}, {modules, 3, 3}]}}, 
    367367                 {fun() -> timer:sleep(1000),Silly_server_writer("domi") end, 
    368 %% No modification state so testing_server don't do anything !!!                  {Key, [{acceptance, 0, 0}, {unit, 1, 1}, {modules, 3, 3}]}},  
    369                   timeout}, 
     368                  {Key, [{acceptance, 0, 0}, {unit, 1, 1}, {modules, 3, 3}]}},  
    370369                 {fun() -> Silly ! {Self, key} end, 
    371370                  charpi}, 
Note: See TracChangeset for help on using the changeset viewer.