Changeset 35571fb for protocols/skype/HACKING
- Timestamp:
- 2013-01-13T12:06:01Z (12 years ago)
- Branches:
- master
- Children:
- 75bda8b
- Parents:
- 4cb21b7 (diff), 650d2b4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/HACKING
r4cb21b7 r35571fb 17 17 18 18 4) irssi 19 20 == Tests 21 22 The plugin is tested with a mocked IRC client and a mocked skyped. To add a new 23 test, the following steps are necessary: 24 25 1) Add a new -skyped.mock file: just do the test manually, copy&paste the 26 skyped output and clean it up, so Alice talks to Bob. You can test the created 27 mock file by starting skyped with the -m option, and testing it from an IRC 28 client manually. 29 30 2) Add a new -bitlbee.mock file: do the test manually from irssi, and use: 31 32 /connect -rawlog rawlog localhost 33 34 Then clean up the rawlog: the input lines are parsed as matching patterns, so 35 boring prefix/suffix text can be left out, non-interesting lines can be 36 deleted. The output lines still have to be strict IRC commands, as usual. 37 38 3) Add the new test to test.py and run it! 39 40 // vim: ft=asciidoc
Note: See TracChangeset
for help on using the changeset viewer.