Testing
|
⇤ ← Revision 1 as of 2012-06-11 20:00:18
Size: 955
Comment:
|
Size: 1499
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| `accomplishments-battery` is available in both the `daily` and `releases` PPA. Get it with: | `accomplishments-battery` is available in both the `daily` and `releases` PPA. To find out how to install one of these PPAs (`releases` is strongly recommended), see [[Accomplishments/Installing|this page]] for more details. Get it with: |
| Line 17: | Line 19: |
You will want to ensure that your `~/.config/accomplishments/.accomplishment` file has the location of your accomplishments branch included (e.g. accompath = `/path/to/branch:/usr/share/accomplishments`) so that battery can see it. |
|
| Line 27: | Line 31: |
You should now see battery test your accomplishment for success and failure. Both tests should pass. If they do, congratulations, your accomplishment works! |
The Basics |
Tutorial |
Testing Your Accomplishment
With your accomplishment now complete, it is time to test that it works. Doing this is easy and we have a tool called accomplishments-battery that makes testing testing simple.
You should ensure your accomplishment passes this test before you submit it.
Getting Battery
accomplishments-battery is available in both the daily and releases PPA. To find out how to install one of these PPAs (releases is strongly recommended), see this page for more details.
Get it with:
sudo apt-get install accomplishments-battery
You will want to ensure that your ~/.config/accomplishments/.accomplishment file has the location of your accomplishments branch included (e.g. accompath = /path/to/branch:/usr/share/accomplishments) so that battery can see it.
Testing Your Accomplishment
Before you can test your accomplishment, you must ensure you have a test included. If you don't see this page for how to create one.
Let's imagine your accomplishment id is ubuntu-community/my-accom. To test it just run the following command:
accomplishments-battery -s ubuntu-community/my-accom
You should now see battery test your accomplishment for success and failure. Both tests should pass. If they do, congratulations, your accomplishment works!
Accomplishments/Creating/Guide/Testing (last edited 2012-11-16 04:25:55 by c-76-25-23-72)
