Testing and Development Tools and Tips

From OpenSSLWiki
Revision as of 16:43, 10 June 2014 by Mbland (talk | contribs) (Flesh out Testing Environment and Tools)
Jump to navigationJump to search

This is a collection of helpful tools and tips for navigating the OpenSSL code base and managing a local git repository.

Testing Environment and Tools

In the test-util branch of Mike Bland's fork are a few helper files that you may wish to copy or pull into your branch.

test/testutil.h

Defines the generic SETUP_TEST_FIXTURE and EXECUTE_TEST macros. Should be pulled into the mainline pending acceptance of pull request #126.

test/new-test.sh

Generates a new automated test stub, following the Pseudo-xUnit Pattern and using the macros from test/testutil.h. The generated stub will compile standalone.

test/test_env.bash

Environment variables, functions, and aliases to help with OpenSSL unit testing. The header comments contain documentation on each of the functions and aliases in the file.

Cscope

Vim Integration

Ctags

Vim Integration

git-new-workdir