Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 25, 2012
Commits on Oct 17, 2012
  1. @waywardmonkeys

    Merge pull request #2 from cgay/help

    waywardmonkeys authored
    Pass description to parse-command-line.
Commits on Oct 15, 2012
  1. @waywardmonkeys

    Merge pull request #1 from cgay/command-line

    waywardmonkeys authored
    Rewrite testworks to use command-line-parser
Commits on Sep 28, 2012
Commits on Sep 8, 2012
Commits on Feb 2, 2011
Commits on Jan 29, 2011
  1. Improved the error message given when -debug is enabled and check-con…

    authored
    …dition fails.
    
    Also added a restart to skip the check.
Commits on Jan 13, 2011
  1. @gzacharias

    Remove old licenses

    gzacharias authored
Commits on Jan 10, 2011
  1. @gzacharias
Commits on Jan 9, 2011
  1. @waywardmonkeys
Commits on Dec 14, 2010
  1. Bug 7472: Remove -noannounce option that I left in by accident.

    authored
    (Ended up piggy-backing on  -noprogress instead.)
  2. Bug 7472: Report each suite, test, and test-unit before it begins exe…

    authored
    …cuting.
    
    May be disabled via the -noprogress option.
Commits on Dec 1, 2010
  1. @promovicz
Commits on Oct 7, 2010
  1. Bug 7463: Removed the "convenience" methods for regex-* that would co…

    authored
    …nvert
    
    <string> to <regex>.  These just cause user confusion and remove the
    possibility for the compiler to give useful warnings when the argument
    order is incorrect.  It's probably good to have to call compile-regex
    explicitly anyway since you probably really want to do it only once
    and store the regex in a constant.
    
    I updated callers throughout trunk/libraries but it's difficult to
    know whether I caused any regressions.  I compiled all changed
    libraries and checked for regex-related warnings, and ran the test
    suites, but did not compare to results prior to this change.
    
    Minor changes also included here:
    
    * updated testworks to call force-output(*standard-output*)
    * deleted regular-expressions-test-suite-app library and made
      regular-expressions-test-suite work as exe or dll
    * fixed koala-related imports for turboblog
Commits on Jul 8, 2010
  1. Bug 7460: Moved http-common, http-client, and koala to network/http/*.

    authored
    Added file http/server/sources/dsp/library.dylan, which I had
    forgotten to add before the move.
Commits on Mar 19, 2010
Commits on Jul 24, 2009
  1. @housel

    Bug 7425: Rewrite the testworks library xml format report so that the…

    housel authored
    … xml-parser
    
    library is not needed, while preserving the original format.
    
    * testworks/reports.dylan
      (generate-xml-report): Removed.
      (xml-output-pcdata): New function for writing out a text string
      as XML #PCDATA.
      (do-xml-element): New function for writing out balanced XML start
      and end tags.
      (do-xml-result-body): New generic function with methods for writing
      out the various <result> type bodies.
      (do-xml-result): New function for writing out the result element and
      its body.
      (xml-report-function): Rewrite to use the above functions rather than
      referencing functions and macros in the xml-parser library.
    
    * testworks/testworks-lib.dylan
      (library testworks): Do not import the xml-parser library.
      (module testworks): Do not import the simple-xml and xml-parser modules.
Commits on Jul 22, 2009
  1. @housel

    Bug 7373: Fix progress reporting within with-test-unit blocks.

    housel authored
    * testworks/tests.dylan
      (*test-unit-options*): New per-thread module variable for storing the current
      perform-component options.
      (with-test-unit): Use perform-component, and pass *test-unit-options*,
      rather than calling perform-test and letting it pass in default options.
      (execute-component): Bind *test-unit-options* using dynamic-bind to the
      options passed in to the current test.
    
    * testworks/testworks-lib.dylan: Export *test-unit-options* due to
      potential macro hygiene problems.
Commits on May 6, 2009
  1. Fix r11902 and r12177 to handle <serious-condition> rather than <cond…

    authored
    …ition>.
    
    We shouldn't be handling <warning>s and <restart>s.  Those two commits broke
    the test suite (which I failed to run) and this fixes it.
Commits on Mar 15, 2009
  1. Made testworks catch <condition> instead of <error>. Tests in which a

    authored
    <condition> that wasn't a subclass of <error> was signalled could show
    a "not implemented" result.  This fixes that.
Commits on Mar 4, 2009
  1. Added XML format for test results and updated testworks-report to rea…

    authored
    …d the new format.
    
    Also added check-no-condition for symmetry with check-condition.
Commits on Jan 18, 2009
  1. Don't blow up when trying to print the test failure reason. For example

    authored
    the collection-extensions test suite defines <vs-subsequence> that doesn't
    print correctly.
  2. Don't blow up when trying to print the test failure reason. For example

    authored
    the collection-extensions test suite defines <vs-subsequence> that doesn't
    print correctly.
Commits on Jan 12, 2009
  1. testworks to-do list maint

    authored
Commits on Jan 11, 2009
  1. testworks to-do list maint

    authored
  2. testworks to-do list

    authored
Commits on Jul 27, 2008
  1. Don't blow up when tests crash due to conditions that are not of type

    authored
    <error> (e.g., subclasses of <socket-condition> and <simple-condition>).
Commits on Mar 1, 2008
  1. @housel

    Bug 7373: Mark tests that execute no checks as "not implemented".

    housel authored
    * testworks/testworks-lib.dylan (define module testworks): Update
      export list to match the new API.
    
    * testworks/testworks.dylan
      (<result-status>): Add #"not-implemented" as a new status.
      (status-name): Add a new case for #"not-implemented".
    
    * testworks/components.dylan
      (maybe-execute-component): Use the make-result factory method to
      construct the result object of a <component>.
    
    * testworks/suites.dylan
      (execute-component): Mark suites as not-implemented if they have no
      subresults.
      (make-result): Factory method for constructing <component-result> objects.
    
    * testworks/tests.dylan
      (test-allow-empty?): New slot in class <test> for noting when a test
      might dynamically elide checks, to prevent it from being marked
      not-implemented.
      (<test-unit>): Subclass of <test> for tests created by \with-test-unit.
      (<test-unit-result>): Result class for <test-unit> tests.
      (result-type-name): New method on <test-unit-result>.
      (record-test-unit-crash): Deleted.
      (with-test-unit): Instead of running the body of with-test-unit and
      recording it as a failed check if an error occurs, dynamically
      create a <test-unit> object and execute it using perform-test.
      (execute-component): Mark tests as not-implemented if they do not
      execute any checks (unless they are marked with allow-empty: #t).
      (make-result): Factory methods for constructing <component-result> objects.
    
    * testworks/reports.dylan
      (count-results): Count not-implemented tests.
      (print-result-summary): Print the count of not-implemented tests.
      (failures-report-function): Print not-implemented tests in the
      failure report.
Commits on May 28, 2007
Commits on May 2, 2007
  1. @promovicz
Commits on Dec 6, 2006
  1. @housel

    Bug 7335: Update library paths (using update-libdirs) now that the te…

    housel authored
    …stworks library
    
    now depends on the io library.
Something went wrong with that request. Please try again.