Commit Graph

26 Commits (8fcb6adde89a5f8854c20f1a225ce2e2d261320e)

Author SHA1 Message Date
Tab Assassin 2e8d19edcf Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
Tod Beardsley 05916c079e Inline unit tests are so last decade
Aside from codebase-wide changes, nearly all of these tests haven't been
touched since before 2010, and there is no effort to maintain this style
of testing. We've moved on to (correctly) seperating out our tests from
our codebase.
2013-05-23 12:41:14 -05:00
James Lee 5821a70b16 Add exception logging for test failures 2012-03-28 14:33:24 -06:00
James Lee d25756976c Add a binary-safe method for writing files on unix shell sessions
Also some tests for doing so, all of which pass on Linux, Windows, and
Java meterpreter, as well as shell sessions on Linux and Solaris. They
will fail miserably on Windows shell sessions.
2012-03-19 01:10:23 -06:00
James Lee 49217a28ec Add pending tests for binary and large files 2012-03-17 11:05:16 -06:00
James Lee c1eca01849 Cleanup the file created during testing 2012-03-16 17:03:22 -06:00
James Lee c44c0ebf48 Refactor ModuleTest and add a few more tests
This makes running tests from a post module as easy as creating methods
that start with +test_+ and running +it()+ blocks inside them.
2012-03-02 17:56:40 -07:00
James Lee 9bac806cdb Add some simple meterpreter API tests 2012-03-01 16:30:37 -07:00
Jonathan Cran d45b2aaa20 bugfix & cleanup of the vm loading and a speedup / bugfix for the regex lib
git-svn-id: file:///home/svn/framework3/trunk@12032 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-20 02:33:39 +00:00
Jonathan Cran 1de316c386 updated meterpreter functional tests
git-svn-id: file:///home/svn/framework3/trunk@11909 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-09 03:04:12 +00:00
Jonathan Cran 5bb3a16e7a updated matchers
git-svn-id: file:///home/svn/framework3/trunk@11741 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-11 00:48:34 +00:00
Jonathan Cran 57d56b7e94 updated for new rspec matchers
git-svn-id: file:///home/svn/framework3/trunk@11710 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-04 09:16:20 +00:00
Jonathan Cran f90ec308c6 updated matchers
git-svn-id: file:///home/svn/framework3/trunk@11688 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-31 17:48:03 +00:00
Jonathan Cran bfd2410c6d make it simpler to pull out failure cases when regexing logs. also, add some rspec matchers, and get rid of the (now useless) thin ut layer on top of regexr.
git-svn-id: file:///home/svn/framework3/trunk@11673 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-29 21:40:53 +00:00
Jonathan Cran 7e86b433b1 add debug
git-svn-id: file:///home/svn/framework3/trunk@11521 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-08 08:45:30 +00:00
Jonathan Cran 41732344f0 updated test / regex library
git-svn-id: file:///home/svn/framework3/trunk@11475 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-05 04:31:45 +00:00
Jonathan Cran 45efaa2088 small changes, making testing of msfconsole output easier
git-svn-id: file:///home/svn/framework3/trunk@11435 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-28 19:50:44 +00:00
Jonathan Cran 8fbb01a93f updated regex / test lib
git-svn-id: file:///home/svn/framework3/trunk@11002 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-12 03:13:05 +00:00
Jonathan Cran 54d659493d updated msf test libraries
git-svn-id: file:///home/svn/framework3/trunk@10827 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 06:05:24 +00:00
Jonathan Cran 48af4d63c1 updated msftest assert functions and fixed a few bugs in the associated library
git-svn-id: file:///home/svn/framework3/trunk@10634 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-11 01:57:33 +00:00
Jonathan Cran 18ef827e7f Split the unit testing and log regexing capabilities - this should make it easier to regex msf logs for failure / success if you're doing automated testing with the framework.
git-svn-id: file:///home/svn/framework3/trunk@10628 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-10 01:55:50 +00:00
Jonathan Cran 8737c7ddfd updated regex methods. i write buggy code.
git-svn-id: file:///home/svn/framework3/trunk@9885 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-20 06:38:29 +00:00
Jonathan Cran 6c22bf18eb task log regex'ing gets a much-needed makeover
git-svn-id: file:///home/svn/framework3/trunk@9881 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-20 04:40:16 +00:00
Jonathan Cran 25ec150e04 removed debugging lines
git-svn-id: file:///home/svn/framework3/trunk@9859 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-19 17:46:26 +00:00
Jonathan Cran a131d9a892 failure exceptions
git-svn-id: file:///home/svn/framework3/trunk@9858 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-19 17:12:36 +00:00
Jonathan Cran 0ed10f762d msf-specific test library
git-svn-id: file:///home/svn/framework3/trunk@9851 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-16 22:36:42 +00:00