~bzr-pqm/bzr/bzr.dev

  • Committer: Andrew Bennetts
  • Date: 2008-08-12 14:53:26 UTC
  • Revision ID: andrew.bennetts@canonical.com-20080812145326-yx693x2jc4rcovb7
Move the notes on writing tests out of HACKING into a new file, and improve
them.

Many of the testing notes in the HACKING file were in duplicated in two places
in that file!  This change removes that duplication.  It also adds new sections
on “Where should I put a new test?” and “TestCase and its subclasses”, and
others like “Test feature dependencies” have been expanded.  The whole document
has generally been edited to be a bit more coherent. 
Filename Latest Rev Last Changed Committer Comment Size
..
blackbox 1185.31.15 19 years ago John Arbash Meinel Refactoring blackbox tests into a package, rather Diff
branch_implementations 1534.4.23 18 years ago Robert Collins Move branch implementations tests into a package. Diff
bzrdir_implementations 1534.4.39 18 years ago Robert Collins Basic BzrDir support. Diff
commands 2485.8.3 17 years ago v.ladeuil+lp at free Change the file naming to clearly separate the com Diff
interrepository_implementations 1534.1.29 18 years ago Robert Collins Add a test environment for InterRepository objects Diff
intertree_implementations 1852.8.3 18 years ago Robert Collins Implement an InterTreeTestProvider and a trivial t Diff
inventory_implementations 2729.2.1 17 years ago Martin Pool Start adding per-inventory tests Diff
per_lock 2353.3.9 17 years ago John Arbash Meinel Update the lock code and test code so that if more Diff
per_repository_reference 3474.2.1 16 years ago Martin Pool Merge and cleanup pre-external-reference-repositor Diff
repository_implementations 1534.4.40 18 years ago Robert Collins Add RepositoryFormats and allow bzrdir.open or cre Diff
test_patches_data 1731.1.17 18 years ago Aaron Bentley Merge bzr.dev Diff
tree_implementations 1852.6.1 18 years ago Robert Collins Start tree implementation tests. Diff
workingtree_implementations 1534.4.46 18 years ago Robert Collins Nearly complete .bzr/checkout splitout. Diff
__init__.py 3602.2.2 16 years ago Martin Pool Make tests for stacked upgrade scenario-based 121 KB Diff Download File
EncodingAdapter.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 5.1 KB Diff Download File
file_utils.py 3408.6.1 16 years ago Eric Holmberg Fix for Bug #215426 in which bzr can cause a Memor 1.7 KB Diff Download File
ftp_server.py 3508.1.2 16 years ago Vincent Ladeuil Fixed as per John's review. 9.7 KB Diff Download File
http_server.py 3221.14.9 16 years ago Ian Clatworthy merge shallow->stacked tweaks 21.9 KB Diff Download File
http_utils.py 3245.6.1 16 years ago Andrew Bennetts Merge from bzr.dev. 16.1 KB Diff Download File
lock_helpers.py 2018.5.146 17 years ago Andrew Bennetts Merge in the branch with the extracted lock_write 2.8 KB Diff Download File
stub_sftp.py 3376.2.4 16 years ago Martin Pool Remove every assert statement from bzrlib! Depend 7.8 KB Diff Download File
test__dirstate_helpers.py 2474.1.70 17 years ago John Arbash Meinel Lot's of fixes from Martin's comments. Fix signed/ 28.8 KB Diff Download File
test__walkdirs_win32.py 3504.4.8 16 years ago John Arbash Meinel Some code cleanups. Remove extra comments. Use 64 4.5 KB Diff Download File
test_ancestry.py 3350.4.4 16 years ago Robert Collins Merge up bzr.dev. 1.7 KB Diff Download File
test_annotate.py 3588.3.1 16 years ago John Arbash Meinel Simple patch to the annotate logic to handle bug # 17.8 KB Diff Download File
test_api.py 2550.2.3 17 years ago Robert Collins Add require_api API. 4.6 KB Diff Download File
test_atomicfile.py 1982.1.1 18 years ago Alexander Belchenko Explicitly skip tests with file attribute manipula 4.6 KB Diff Download File
test_bad_files.py 2949.5.2 17 years ago Alexander Belchenko John's review 2.9 KB Diff Download File
test_bisect_multi.py 2890.2.3 17 years ago Robert Collins * New module ``bzrlib.bisect_multi`` with generic 14.6 KB Diff Download File
test_branch.py 3567.4.16 16 years ago John Arbash Meinel Use the new BranchBuilder api in a Branch test 17.3 KB Diff Download File
test_branchbuilder.py 3567.4.18 16 years ago John Arbash Meinel Apply the review changes from Martin to the exact 12.5 KB Diff Download File
test_bugtracker.py 3329.1.1 16 years ago Ian Clatworthy Add gnome to list of known bugtrackers (James West 9.1 KB Diff Download File
test_bundle.py 3350.6.4 16 years ago Robert Collins First cut at pluralised VersionedFiles. Some rathe 64.9 KB Diff Download File
test_bzrdir.py 3583.1.2 16 years ago Andrew Bennetts Add test for fix. 50.2 KB Diff Download File
test_cache_utf8.py 2360.1.6 17 years ago John Arbash Meinel Change utf8_decode_with_None to return what we car 4.1 KB Diff Download File
test_commands.py 2432.1.21 17 years ago Robert Collins Teach Command.get_help_text to show additional hel 4.9 KB Diff Download File
test_commit.py 3373.4.1 16 years ago John Arbash Meinel Merge in and clean up the test for bug #83039. 29.3 KB Diff Download File
test_commit_merge.py 2949.5.1 17 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 4.5 KB Diff Download File
test_config.py 3242.3.23 16 years ago Aaron Bentley Merge with stacked-fixes 57.7 KB Diff Download File
test_conflicts.py 3376.2.4 16 years ago Martin Pool Remove every assert statement from bzrlib! Depend 7.2 KB Diff Download File
test_counted_lock.py 3474.1.3 16 years ago Martin Pool CountedLock now handles and tests lock tokens 5.3 KB Diff Download File
test_decorators.py 3316.3.2 16 years ago John Arbash Meinel Finish fix for bug #125784. need_read/write_lock d 10.7 KB Diff Download File
test_delta.py 1551.10.25 17 years ago Aaron Bentley Make ChangeReporter private 11.3 KB Diff Download File
test_deprecated_graph.py 2490.2.21 17 years ago Aaron Bentley Rename graph to deprecated_graph 2.9 KB Diff Download File
test_diff.py 3287.20.5 16 years ago John Arbash Meinel Merge bzr.dev 3530 54.4 KB Diff Download File
test_directory_service.py 3512.2.2 16 years ago Aaron Bentley Add :push and :this 3.6 KB Diff Download File
test_dirstate.py 3477.2.2 16 years ago John Arbash Meinel Change how we handle unicode targets, and add a NE 104 KB Diff Download File
test_email_message.py 2639.1.2 17 years ago John Arbash Meinel Some cleanups for the EmailMessage class. Remove s 8.2 KB Diff Download File
test_errors.py 3592.1.1 16 years ago Ian Clatworthy Give a more specific error when target branch unre 23.6 KB Diff Download File
test_extract.py 3113.6.5 17 years ago Aaron Bentley Update tests 3.3 KB Diff Download File
test_fetch.py 3582.1.2 16 years ago Martin Pool Default InterRepository.fetch raises IncompatibleR 17.6 KB Diff Download File
test_ftp_transport.py 2900.2.25 17 years ago Vincent Ladeuil Merge bzr.dev 4.3 KB Diff Download File
test_generate_docs.py 2229.1.2 17 years ago جاون عرباش ماينل Allow tests to skip after installation, since cert 1.7 KB Diff Download File
test_generate_ids.py 2872.5.1 17 years ago Martin Pool Avoid internal error tracebacks on failure to lock 7 KB Diff Download File
test_globbing.py 3398.1.2 16 years ago Ian Clatworthy add tests for _OrderedGlobster 11.2 KB Diff Download File
test_gpg.py 2273.1.2 17 years ago John Arbash Meinel Cleanup docstring for Aaron Bentley 3.4 KB Diff Download File
test_graph.py 3514.2.16 16 years ago John Arbash Meinel Review feedback from Ian. 52.5 KB Diff Download File
test_hashcache.py 2949.5.2 17 years ago Alexander Belchenko John's review 7.1 KB Diff Download File
test_help.py 3089.3.5 17 years ago Ian Clatworthy add test for loading help from a file 12.6 KB Diff Download File
test_hooks.py 3256.2.32 16 years ago Ian Clatworthy tweak hook tests to init the set_rh test when need 2.7 KB Diff Download File
test_http.py 3430.3.4 16 years ago Vincent Ladeuil Of course we can write tests ! * bzrlib/tests/tes 66.4 KB Diff Download File
test_http_implementations.py 3111.1.19 16 years ago Vincent Ladeuil Merge back test_http_implementations.pc into test_ 1.4 KB Diff Download File
test_http_response.py 3537.1.1 16 years ago Vincent Ladeuil Fix some more PEP8isms and delete useless import 28.6 KB Diff Download File
test_https_ca_bundle.py 2298.5.2 17 years ago Alexander Belchenko Don't look in cwd for CA bundle (note from John) 2.3 KB Diff Download File
test_identitymap.py 2375.1.5 17 years ago Andrew Bennetts Deal with review comments from Robert: * Add my 2.5 KB Diff Download File
test_ignores.py 3528.2.1 16 years ago Jelmer Vernooij Move functionality to add ignores to the ignore fi 6.3 KB Diff Download File
test_index.py 2890.2.18 17 years ago Robert Collins Review feedback. 52.4 KB Diff Download File
test_info.py 3575.2.1 16 years ago Martin Pool Rename stacked format to 1.6 13.3 KB Diff Download File
test_inv.py 2729.2.5 17 years ago Martin Pool Move per-inventory tests from test_inv to tests.in 6.7 KB Diff Download File
test_knit.py 3517.4.19 16 years ago Martin Pool Update test for knit.check() to expect it to recur 72.8 KB Diff Download File
test_lazy_import.py 3302.5.2 16 years ago Vincent Ladeuil Fix test bug revealed when run alone. * bzrlib/te 43 KB Diff Download File
test_lazy_regex.py 2052.3.4 18 years ago John Arbash Meinel [merge] bzr.dev 4.6 KB Diff Download File
test_lockable_files.py 3474.1.1 16 years ago Martin Pool Better reporting of inapplicable lockable_files te 17.1 KB Diff Download File
test_lockdir.py 3497.1.1 16 years ago Martin Pool xfail test_35_wait_lock_changing 24 KB Diff Download File
test_log.py 3144.7.13 16 years ago Guillermo Gonzalez * fixed typo LogFormatter.show_properties in docs 39.9 KB Diff Download File
test_lru_cache.py 2998.2.1 17 years ago John Arbash Meinel Implement LRUCache.get() which acts like dict.get( 10.5 KB Diff Download File
test_lsprof.py 2805.7.5 17 years ago Ian Clatworthy more win32 path friendliness 2.7 KB Diff Download File
test_mail_client.py 3324.4.1 16 years ago Xavier Maillard Replace mail-mode call with compose-mail from GNU 8.8 KB Diff Download File
test_memorytree.py 3567.4.7 16 years ago John Arbash Meinel Revert back to using MemoryTree.mkdir() rather tha 7.3 KB Diff Download File
test_merge.py 3514.2.17 16 years ago John Arbash Meinel On Ian's suggestion, change the 'plan_merge' tests 45.8 KB Diff Download File
test_merge3.py 3249.3.1 16 years ago John Arbash Meinel Implement cherrypick support for Merge3 When mergi 15.1 KB Diff Download File
test_merge_core.py 3350.6.5 16 years ago Robert Collins Update to bzr.dev. 30.6 KB Diff Download File
test_merge_directive.py 3535.8.2 16 years ago James Westby Incorporate spiv's feedback. 27 KB Diff Download File
test_missing.py 3427.3.2 16 years ago John Arbash Meinel switch find_unmerged to use the new function The 7.3 KB Diff Download File
test_msgeditor.py 3477.1.2 16 years ago John Arbash Meinel Rename UnicodeFilename => UnicodeFilenameFeature 10.4 KB Diff Download File
test_multiparent.py 2520.4.139 17 years ago Aaron Bentley Support Multiparent.get_matching_blocks 11 KB Diff Download File
test_mutabletree.py 3335.1.1 16 years ago Jelmer Vernooij Add tests for mutabletree hooks. 1.5 KB Diff Download File
test_nonascii.py 3201.1.1 16 years ago jameinel Fix bug #185458, switch from NFKC to NFC and add t 7.8 KB Diff Download File
test_options.py 3602.1.5 16 years ago Robert Collins Fixups for test_options due to the changes to cmd_ 17.4 KB Diff Download File
test_osutils.py 3557.2.6 16 years ago John Arbash Meinel Switch from os.name to bzrlib.win32utils.winver. o 54.4 KB Diff Download File
test_osutils_encodings.py 3405.3.1 16 years ago Neil Martinsen-Burrell accept for an encoding to mean ascii 7.5 KB Diff Download File
test_pack.py 2916.2.13 17 years ago Andrew Bennetts Improve some docstrings. 26.9 KB Diff Download File
test_pack_repository.py 3582.3.4 16 years ago Martin Pool Use cStringIO rather than StringIO 26.6 KB Diff Download File
test_patch.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 1 KB Diff Download File
test_patches.py 3376.2.10 16 years ago Martin Pool Remove dead main method from test_patches 7.8 KB Diff Download File
test_permissions.py 3416.2.6 16 years ago Martin Pool Remove obsolete LockableFiles._set_file_mode and _ 9.5 KB Diff Download File
test_plugins.py 3376.2.11 16 years ago Martin Pool Compare to None using is/is not not == 22.3 KB Diff Download File
test_progress.py 3006.3.5 16 years ago Robert Collins Merge to fix conflicts. 10.2 KB Diff Download File
test_read_bundle.py 3302.9.22 16 years ago Vincent Ladeuil bzrlib.tests.test_read_bundle use load_tests. * b 3.9 KB Diff Download File
test_reconcile.py 3389.2.8 16 years ago John Arbash Meinel Update some tests to pass with the branch checks. 2.8 KB Diff Download File
test_reconfigure.py 1551.19.37 16 years ago Aaron Bentley Remove workarounds for bug 212908 16.8 KB Diff Download File
test_registry.py 3376.2.11 16 years ago Martin Pool Compare to None using is/is not not == 10.7 KB Diff Download File
test_remote.py 3577.1.1 16 years ago Andrew Bennetts Cherry-pick TipChangeRejected changes from pre-bra 56.4 KB Diff Download File
test_repository.py 3602.2.2 16 years ago Martin Pool Make tests for stacked upgrade scenario-based 42.2 KB Diff Download File
test_revert.py 3146.4.6 16 years ago Aaron Bentley Fix locking issues in revert tests 6.4 KB Diff Download File
test_revision.py 3549.2.3 16 years ago Martin Pool Remove import of now-deprecated MultipleRevisionSo 7.8 KB Diff Download File
test_revisionspec.py 3495.1.2 16 years ago John Arbash Meinel tweak 21.7 KB Diff Download File
test_revisiontree.py 3400.3.6 16 years ago Martin Pool Remove code deprecated prior to 1.1 and its tests 2.3 KB Diff Download File
test_rio.py 1551.12.22 17 years ago Aaron Bentley Fix handling of whitespace-stripping without newli 11.7 KB Diff Download File
test_rules.py 3564.1.1 16 years ago Ian Clatworthy RuleSearchers need to return () instead of [] 4.1 KB Diff Download File
test_sampler.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 1.3 KB Diff Download File
test_selftest.py 3567.4.18 16 years ago John Arbash Meinel Apply the review changes from Martin to the exact 87.3 KB Diff Download File
test_setup.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 3.3 KB Diff Download File
test_sftp_transport.py 3102.1.1 17 years ago Vincent Ladeuil Rename bzrlib/test/HTTPTestUtils.py to bzrlib/test 16.6 KB Diff Download File
test_smart.py 3577.1.1 16 years ago Andrew Bennetts Cherry-pick TipChangeRejected changes from pre-bra 44.5 KB Diff Download File
test_smart_add.py 2581.1.1 17 years ago Martin Pool Merge more runbzr cleanups 6 KB Diff Download File
test_smart_transport.py 3453.4.10 16 years ago Andrew Bennetts Change _is_remote_at_least to _is_remote_before. 145 KB Diff Download File
test_smtp_connection.py 2900.2.17 17 years ago Vincent Ladeuil merge bzr.dev 10 KB Diff Download File
test_source.py 3376.2.7 16 years ago Martin Pool Treat assert statements in our code as a hard erro 11.3 KB Diff Download File
test_ssh_transport.py 3220.1.2 16 years ago Dmitry Vasiliev Re-enabled auto-detection of plink vendor and fixe 7.7 KB Diff Download File
test_status.py 3462.1.2 16 years ago John Arbash Meinel Change WT.set_parent_(ids/trees) to filter out anc 5.8 KB Diff Download File
test_store.py 3350.7.1 16 years ago Robert Collins Merge up bzr.dev. 17 KB Diff Download File
test_strace.py 3406.1.3 16 years ago Vincent Ladeuil Fixed as par John's review. * test_strace.py: (Te 3.3 KB Diff Download File
test_subsume.py 3376.2.4 16 years ago Martin Pool Remove every assert statement from bzrlib! Depend 5.1 KB Diff Download File
test_switch.py 3445.2.1 16 years ago John Arbash Meinel Add tests for Branch.missing_revisions and depreca 5.3 KB Diff Download File
test_symbol_versioning.py 3427.5.7 16 years ago John Arbash Meinel Bring back always in the form of 'override'. Chang 12.1 KB Diff Download File
test_tag.py 2866.1.1 17 years ago Alexander Belchenko merge with bzr.dev 6.5 KB Diff Download File
test_testament.py 2949.5.1 17 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 14.6 KB Diff Download File
test_textfile.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 1.7 KB Diff Download File
test_textmerge.py 1185.81.31 18 years ago Aaron Bentley Use patience for two-way merge 1.8 KB Diff Download File
test_timestamp.py 2425.6.1 17 years ago Martin Pool Fix formatting of timezones in bundles and merge d 2.3 KB Diff Download File
test_trace.py 3497.3.2 16 years ago Martin Pool Show short error for missing libraries 9.1 KB Diff Download File
test_transactions.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 12.1 KB Diff Download File
test_transform.py 3590.3.5 16 years ago James Westby Use HardlinkFeature for the hardlink test. 107 KB Diff Download File
test_transport.py 3498.2.1 16 years ago Neil Martinsen-Burrell Fix bug 228058: user names with @ signs should wor 30.3 KB Diff Download File
test_transport_implementations.py 3484.1.1 16 years ago Vincent Ladeuil Trivial drive-by cleanups. * transport/__init__.p 63.9 KB Diff Download File
test_tree.py 3514.3.13 16 years ago John Arbash Meinel One code path was using a tuple, another a plain p 17.8 KB Diff Download File
test_treebuilder.py 2466.7.1 17 years ago Robert Collins Tree builder tests do not need a working dir. 3.2 KB Diff Download File
test_tsort.py 3613.1.1 16 years ago John Arbash Meinel Fix the merge_sort code so that it properly increm 21.2 KB Diff Download File
test_tuned_gzip.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 2.9 KB Diff Download File
test_ui.py 2363.4.10 17 years ago Vincent Ladeuil Complete tests. * bzrlib/transport/http/_urllib.p 9.5 KB Diff Download File
test_uncommit.py 3280.4.4 16 years ago John Arbash Meinel uncommit --local in an unbound branch raises the s 3.8 KB Diff Download File
test_upgrade.py 3350.6.4 16 years ago Robert Collins First cut at pluralised VersionedFiles. Some rathe 22.4 KB Diff Download File
test_upgrade_stacked.py 3602.2.2 16 years ago Martin Pool Make tests for stacked upgrade scenario-based 3.4 KB Diff Download File
test_urlutils.py 3567.2.1 16 years ago Michael Hudson urlutils.rebase_url handles '..' path segments in 29.5 KB Diff Download File
test_version.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 1.5 KB Diff Download File
test_version_info.py 3400.3.6 16 years ago Martin Pool Remove code deprecated prior to 1.1 and its tests 11.6 KB Diff Download File
test_versionedfile.py 3518.1.2 16 years ago Jelmer Vernooij Fix some stylistic issues pointed out by Ian. 91.4 KB Diff Download File
test_weave.py 3514.2.2 16 years ago John Arbash Meinel Restore a real weave merge to 'bzr merge --weave'. 23.2 KB Diff Download File
test_whitebox.py 2052.3.4 18 years ago John Arbash Meinel [merge] bzr.dev 2.7 KB Diff Download File
test_win32utils.py 3146.4.9 16 years ago Aaron Bentley do case-insensitive comparision of iexplore filena 5.1 KB Diff Download File
test_workingtree.py 3407.2.14 16 years ago Martin Pool Remove more cases of getting transport via control 14.3 KB Diff Download File
test_workingtree_4.py 3287.20.5 16 years ago John Arbash Meinel Merge bzr.dev 3530 28.1 KB Diff Download File
test_wsgi.py 3245.4.64 16 years ago Andrew Bennetts Fix test_wsgi tests to expect '2' rather than '3' 10.6 KB Diff Download File
test_xml.py 3311.3.6 16 years ago Aaron Bentley PEP8 fix 23.2 KB Diff Download File
TestUtil.py 3302.8.8 16 years ago Vincent Ladeuil Fix typos 6.2 KB Diff Download File
transport_util.py 3376.2.13 16 years ago Martin Pool Merge trunk 5.2 KB Diff Download File
treeshape.py 3376.2.4 16 years ago Martin Pool Remove every assert statement from bzrlib! Depend 2.7 KB Diff Download File