Ticket #10 (new task)

Opened 4 years ago

Filter tests by module/function-name

Reported by: dom Owned by: charpi
Priority: major Milestone: Zero-button testing
Component: server Keywords:
Cc:

Description

Add the ability to extract tests from modules by matching module and/or function names. The basic API for filtering tests must be like tests:filter_by_attribute (Binary), i.e. be a fun with arity 1 that takes a binary and returns the same things as filter_by_attribute.

So, to have an API to extract by names, it is necessary to have a function that takes name-matching funs, and returns the basic fun.

source:trunk/src/tests_test.erl, source:trunk/src/tests.erl

Note: See TracTickets for help on using tickets.