-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathREADME
61 lines (47 loc) · 2.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
== ABOUT ==
qspec is a testing framework for the Q programming language
lightly inspired by Behaviour Driven Development and the
rspec testing framework ( http://rspec.info ). It provides
functions for the creation of unit tests, a command line
tool for running and displaying the results of unit tests,
and some callbacks for defining new tools based on unit
tests (as all test objects are handled as Q objects,
typically dictionaries). It is written entirely Q and
should be cross platform.
== INSTALLATION ==
qspec as it is distributed requires the installation of the
qutil library ( http://github.org/nugend/qutil ). Follow
the qutil instructions and then unzip qspec to an acceptable
location and then copy or link the lib directory inside
qspec within the Q source code search path that you will have
specified.
For example, if you are using the environment variable is
QPATH and is set to /home/user/qpath and qspec is installed
to /home/user/packages/qspec you might want to have an
installation like this:
/home/user/packages/qspec/lib
/home/user/qpath/qspec -> /home/user/qpackages/qspec/lib
If this is unacceptable, search within the project for all
instances of the keyword ".utl" and replace the
corresponding methods with functions that work with your
existing codebase. The behaviors from qutil used are
finding and loading files based on provided paths and
interpreting options to the command line tool. If you intend
to keep up to date with release, I would recommend
developing a script to perform substitutions for you.
== TUTORIAL ==
Please see the project wiki on github for instructions on usage:
http://github.com/nugend/qspec/wiki
== LICENSE ==
This code is licensed under an MIT license. See LICENSE for
the full text.
== MISC ==
While you are under no obligation to do so, if you have
changes to the code that you feel would be useful to others,
please contribute them back. If you have suggestions,
please make them. If you have found a bug, please report
it.
== CONTACT ==
Daniel Nugent
nugend@gmail.com
http://github.com/nugend/qspec