Browse files

Update Makefile for testing, add comments to test

  • Loading branch information...
1 parent bc19b94 commit 1d0f59e33c8049ca98642bc7e54a134bf5d16c7f @sthadka sthadka committed Aug 6, 2012
Showing with 9 additions and 9 deletions.
  1. +2 −5 Makefile
  2. +7 −4 apps/war_consensus/test/war_consensus_test.erl
View
7 Makefile
@@ -26,11 +26,8 @@ compile:
rm -rf .eunit
$(REBAR) compile
-#test:
-# $(REBAR) skip_deps=true eunit
-# rm -rf doc/coverage
-# mkdir doc/coverage
-# cp -r .eunit/*.html doc/coverage
+testapp:
+ $(REBAR) skip_deps=true eunit
TEST_LOG_FILE := eunit.log
testclean:
View
11 apps/war_consensus/test/war_consensus_test.erl
@@ -1,3 +1,10 @@
+%%% Consensus app test
+%%%
+%%% The tests are targeted for war_db_ets_backend
+%%%-------------------------------------------------------------------
+
+
+
-module(war_consensus_test).
-include_lib("eunit/include/eunit.hrl").
@@ -87,7 +94,3 @@ simple_run() ->
Result2 = war_consensus:propose(Operation2),
?assertEqual(Result2, {ok, b}).
-
-%%-------------------------------------------------------------------
-%% internal functions
-%%-------------------------------------------------------------------

0 comments on commit 1d0f59e

Please sign in to comment.