Sha256: bb2bd94b10f39271eab28289998af34e1f53cc688de6b0922ecd468942dee9c8

Contents?: true

Size: 836 Bytes

Versions: 23

Compression:

Stored size: 836 Bytes

Contents

---
title: QA
layout: guides
---

**BE SURE TO USE A TEST ENVIRONMENT ON YOUR LEDGER.**

To fully test the library against the actual ledgers, you can run `bin/qa` which will run all tests in the `qa/` directory.  QA Tests are written in RSpec.  Unlike tests in the `spec/` directory, QA tests allow external HTTP requests.

As these interact with real ledgers, you will need to provide secrets.  You can do so in a `.env` file in the root directory.  Copy the `.env.template` file to get started.

**WARNINGS:**

- **BE SURE TO USE A TEST ENVIRONMENT ON YOUR LEDGER.**
- **NEVER CHECK IN YOUR SECRETS (e.g. the `.env` file).**
- Because these tests actually create and modify resources, they attempt to do "cleanup" by deleting any newly created resources.  This process could fail, and you may need to delete these resources manually.

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ledger_sync-3.0.0 documentation/site/guides/contribute/qa.md
ledger_sync-2.6.0 documentation/site/guides/contribute/qa.md
ledger_sync-2.5.0 documentation/site/guides/contribute/qa.md
ledger_sync-2.4.4 documentation/site/guides/contribute/qa.md
ledger_sync-2.3.1 documentation/site/guides/contribute/qa.md
ledger_sync-2.2.3 documentation/site/guides/contribute/qa.md
ledger_sync-2.2.1 documentation/site/guides/contribute/qa.md
ledger_sync-2.2.0 documentation/site/guides/contribute/qa.md
ledger_sync-2.0.2 documentation/site/guides/contribute/qa.md
ledger_sync-2.0.1 documentation/site/guides/contribute/qa.md
ledger_sync-2.0.0 documentation/site/guides/contribute/qa.md
ledger_sync-2.0.0.pre.1 documentation/site/guides/contribute/qa.md
ledger_sync-1.8.1 documentation/site/guides/contribute/qa.md
ledger_sync-1.8.0 documentation/site/guides/contribute/qa.md
ledger_sync-1.7.0 documentation/site/guides/contribute/qa.md
ledger_sync-1.6.0 documentation/site/guides/contribute/qa.md
ledger_sync-1.5.2 documentation/site/guides/contribute/qa.md
ledger_sync-1.5.1 documentation/site/guides/contribute/qa.md
ledger_sync-1.5.0 documentation/site/guides/contribute/qa.md
ledger_sync-1.4.4 documentation/site/guides/contribute/qa.md