Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
cmucl
cmucl
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cmucl
  • cmuclcmucl
  • Wiki
  • LispUnit

Last edited by Raymond Toy Sep 29, 2019
Page history

LispUnit

Lisp Unit

CMUCL uses Lisp-Unit for unit testing.

The test suite should be run before a snapshot is tagged and released.

To run the test suite:

  1. You must be in the top of the CMUCL source tree.
  2. If you have not installed CMUCL, you must install it.
    1. Run bin/make-dist.sh -I <dir> to install it.
  3. For the full test suite, run <lisp> -noinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)'
  4. To run just one of the test suites:
    1. Run lisp
    2. (require :lisp-unit)
    3. Load one of the files in tests
    4. Run the test using (lisp-unit:run-tests :all <package>).
      1. The package name is the file name appended with "-TESTS". For example, the trig tests are in trig.lisp and the package name is "TRIG-TESTS".
Clone repository
  • AnalyzingMemoryUsage
  • BuildingCmucl
  • ChangeCmuclPrompt
  • CmuclDesign
  • CmuclDocumentation
  • CustomCommandLineSwitches
  • FAQ
  • FeatureList
  • GettingCmucl
  • GitAndCmucl
  • GitAndTracIntegration
  • HistoryOfTheCMUCLProject
  • Home
  • InstallingCmucl
  • LispUnit
View All Pages