Testing

Testing

The QuickCheck-CI server can generate a range of Erlang code for translation. They expect to be supporting Elixir soon, so it may be possible to create a syntax-checking toolchain based on this service. There are also some open source QuickCheck-like implementations (e.g., PropEr, Triq).

There are several substantial Erlang code bases that have reasonably complete sets of tests. These can be used to provide "real world" unit and integration testing. Specifically, it should be possible to set up a testbed to translate code, check for correct Elixir syntax, and compare behavior.

Resources

Code Bases

Code Indexes

  • other.erldocs.com (Documentation of "other" Erlang apps)
    • .../apps.js (list of ~10K projects)
    • .../<Site>/<User>/<Repo> (entry, for browser)
    • .../<Site>/<User>/<Repo>/meta.txt (entry, as Erlang)

Test Frameworks

  • Common Test
    Used for integration testing by Chef, Cowboy, ETORRENT, Gun, OTP, ...

  • EUnit
    Used for unit testing by CouchDB, Hackney, Poolboy, Pooler, Riak, ...


This wiki page is maintained by Rich Morin, an independent consultant specializing in software design, development, and documentation. Please feel free to email comments, inquiries, suggestions, etc!

Topic revision: r2 - 18 Jun 2015, RichMorin
This site is powered by Foswiki Copyright © by the contributing authors. All material on this wiki is the property of the contributing authors.
Foswiki version v2.1.6, Release Foswiki-2.1.6, Plugin API version 2.4
Ideas, requests, problems regarding CFCL Wiki? Send us email