bcoles
c11d4d40ea
replace backticks with IO.open
2014-03-03 22:31:14 +10:30
antisnatchor
2f7ccf033c
Commented out the tests for DNS code.
2014-03-02 16:14:56 +00:00
antisnatchor
ec9cf4d460
Manually merged DNS extension code (pull request 967 from @soh-cah-toa)
2014-03-02 12:56:33 +00:00
antisnatchor
9dcff5184d
Manually merged DNS extension code (pull request 967 from @soh-cah-toa)
2014-03-02 12:40:18 +00:00
Wade Alcorn
8003f1a47f
Updated the copyright year to 2014
2014-01-01 16:34:15 +10:00
soh_cah_toa
b2aed14234
Added regex support to #add_rule (tests included).
...
Due to strange behavior in Sourcify, the /.../ literal syntax cannot
be used as a parameter; only %r{} or Regexp::new. There is a note
for this in the documentation for #add_rule.
2013-07-22 22:37:39 -04:00
soh_cah_toa
6a62cf9eaa
Added public attributes 'address' and 'port' to Dns::Server.
...
This removes the need to search config.yaml for the address:port.
Also included unit tests.
2013-07-19 22:33:40 -04:00
soh_cah_toa
8d961c1938
Added support for rules that fail to resolve (e.g. NXDOMAIN).
...
Included unit tests.
2013-07-19 22:15:25 -04:00
soh_cah_toa
141a12a92f
Included #remove_ruleset in public interface tests.
2013-07-17 18:19:56 -04:00
soh_cah_toa
95d0ddbe87
Added new method #remove_ruleset that clears the entire DNS ruleset.
...
Included unit tests as well.
2013-07-17 18:16:46 -04:00
soh_cah_toa
9cfb98963d
Added unit tests for #get_ruleset.
2013-07-16 23:48:46 -04:00
soh_cah_toa
94da775ba6
Added unit tests for #remove_rule (good and bad behavior).
2013-07-15 23:58:37 -04:00
soh_cah_toa
85d4375825
Added unit tests for #get_rule with an invalid id.
...
Also overrode Kernel#puts to suppress output from RubyDNS.
2013-07-15 23:36:29 -04:00
soh_cah_toa
4d0f58684f
Divided #add_rule tests into separate good and bad tests.
...
Also added unit tests that verify rule id format.
2013-07-15 23:07:06 -04:00
soh_cah_toa
8d95e6f522
Changed public interface tests to use #assert_respond_to.
...
This will improve the accuracy of potential error messages.
2013-07-15 18:25:33 -04:00
soh_cah_toa
5769615cd5
Added unit tests for #get_rule.
...
Also removed convenience variables from #add_rule tests (domain and
response). The "response" key in the hash returned by #get_rule is
generated by Sourcify which sourcifies the variable name, not its
value.
2013-07-15 03:48:01 -04:00
soh_cah_toa
9a4fd6cb4c
Removed "dns" task in Rakefile since "unit" is fine now.
2013-07-15 03:02:29 -04:00
soh_cah_toa
1ffa21d62a
Added unit tests for #add_rule.
...
These represent the first actual tests for the Dns::Server class.
2013-07-15 02:47:37 -04:00
soh_cah_toa
d8a8e37029
Moved DM adapter setup into first "test" method.
...
Since #setup is called between each test, the database table would
otherwise be cleared every time.
2013-07-15 02:39:41 -04:00
soh_cah_toa
8270abd2d5
Added unit tests for Dns::Server public interface.
2013-07-15 02:12:31 -04:00
soh_cah_toa
3865aab7ee
Added unit tests for required config.yaml settings.
2013-07-15 02:07:26 -04:00
soh_cah_toa
123c3cdc04
FIXED UNIT TEST ISSUES!!! \(^o^)/
...
Load path and configuration setup belong in #startup along with any
required files. DataMapper adapter connections go in #setup. That's
the secret recipe.
2013-07-15 02:00:12 -04:00
soh_cah_toa
d9f7af2721
Reference point for broken unit tests.
...
NoMethodError and NameError are present.
2013-06-22 03:32:42 -04:00
soh_cah_toa
d2ac9e0f7a
Included broken DNS unit tests so others can help debug.
...
Temporary 'dns' and 'dns_rest' Rake tasks make it easier to run tests.
2013-06-08 23:25:23 -04:00
soh_cah_toa
fce4c9196d
Modified grep test case to allow #eval use in DNS extension.
...
Using #eval is necessary for normal functioning and is now used in
a safe manner.
2013-06-03 21:53:06 -04:00
soh_cah_toa
0af4029915
Added placeholders necessary to start DNS unit tests.
...
Currently does nothing but assert(true).
2013-06-03 21:42:34 -04:00
Christian Frichot
3c4a0fad34
New bind_redirect method added to the AssetHandler. See #664
2013-01-20 16:59:01 +08:00
qswain2
f584403a92
Move jools tests to integration
...
Moved tc_jools to integrations test directory
since the requires seem to be what were breaking
the other tests in the unit test suit
2013-01-16 05:47:09 -05:00
qswain2
fcbd2516e6
Add test cases for jools
...
Added test cases for jools based on examples
2013-01-14 23:12:55 -05:00
Wade Alcorn
fe40038441
Updated copyright year to 2013
2012-12-30 12:47:43 +10:00
Wade Alcorn
b68df3d024
Changed license header
2012-11-02 14:05:15 +10:00
bcoles
923921b92b
Added skeleton for custom hooks
...
Part of issue #101
2012-04-23 19:33:19 +09:30
antisnatchor
08d50512e9
Added bootstrap unit tests.
2012-03-04 16:22:37 +01:00
bcoles
fd7cee3c5c
Fixed typo in logger unit test
2012-02-22 19:07:07 +10:30
bcoles
b52c3d7d19
Added unit test stubs for proxy, requester and event logger extensions.
...
Fixes issue #29
Fixes issue #30
Fixes issue #33
Created a unit test stub for logger (as opposed to event_logger) to
differentiate between the main Logs tab and the event logs for each
zombie.
2012-02-22 19:00:48 +10:30
Wade Alcorn
cb6859cdd7
Added more test stubs to the framework.
2012-01-20 21:57:36 +10:00
Wade Alcorn
72d9d28a93
Added vnc ipec tunnel test stub for issue #587
2012-01-20 21:34:58 +10:00
Wade Alcorn
0d2a30eab7
Added vnc obfuscation test stub for issue #587
2012-01-20 21:33:19 +10:00
Wade Alcorn
b6155f3dd0
Added vnc unit test stub for issue #585
2012-01-20 21:29:45 +10:00
Wade Alcorn
6116db3b8d
Added xssrays unit test stub for issue #573
2012-01-20 21:23:59 +10:00
Wade Alcorn
caad492226
Added autorun unit test stub for issue #583
2012-01-20 21:20:54 +10:00
Wade Alcorn
17e8289822
Added social engineering unit test stub for issue #584
2012-01-20 21:17:27 +10:00
Wade Alcorn
9ee9bf6c2b
Fixed typo
2012-01-20 21:13:07 +10:00
Christian Frichot
bd09e1ffdb
Shifted my previous commit into this new code (uh conflicts) and changed bundle to bundle install?
2012-01-13 17:44:58 +08:00
Christian Frichot
a15d8b9c9b
Command Module Unit Tests - Edition 1. See issue #32
2012-01-13 17:28:30 +08:00
Wade Alcorn
1f4ce62e0a
Minor updates to test suite descriptions
2012-01-12 17:31:53 +10:00
Wade Alcorn
1fec60d3bb
Moved MSF tests to the 'thirdparty' directory.
2012-01-12 17:24:33 +10:00
Wade Alcorn
cbaf8ab6b7
Updated unit test structure
2012-01-12 17:23:04 +10:00
Wade Alcorn
84d92bba1a
Added teardown clean up code
2012-01-12 14:24:38 +10:00
Wade Alcorn
29a7296b3e
Commented out the inconsistent dynamic reconstruction tests.
2012-01-06 13:43:18 +10:00