• Stars
    star
    209
  • Rank 188,325 (Top 4 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 11 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A GUI tool for running Python test suites.
https://beeware.org/project/projects/tools/cricket/cricket.png

Cricket

Python versions Project version Development status Project license Build Status Discord server

Cricket is part of the BeeWare suite. The project website is http://beeware.org/cricket.

Cricket is a graphical tool that helps you run your test suites.

Normal test runners dump all output to the console, and provide very little detail while the suite is running. As a result:

  • You can't start looking at failures until the test suite has completed running,
  • It isn't a very accessible format for identifying patterns in test failures,
  • It can be hard (or cumbersome) to re-run any tests that have failed.

Why the name cricket? Test Cricket is the most prestigious version of the game of cricket. Games last for up to 5 days... just like running some test suites. The usual approach for making cricket watchable is a generous dose of beer; in programming, Ballmer Peak limits come into effect, so something else is required...

Quickstart

At present, Cricket has support for:

  • unittest test suites; and
  • pytest test suites; and
  • Django 1.6+ project test suites

To use Cricket, install it with pip:

$ pip install cricket

Then, to run your unittest suite:

$ cricket-unittest

Or, in a pytest project:

$ cricket-pytest

Or, in a Django project:

$ cricket-django

cricket-django will also work in Django's own tests directory -- i.e., you can use cricket-django to run Django's own test suite (for Django 1.6 or later).

Running cricket will display a GUI window. Hit "Run all", and watch your test suite execute. A progress bar is displayed in the bottom right hand corner of the window, along with an estimate of time remaining.

While the suite is running, you can click on test names to see the output of that test. The icon in the tree, and the summary panel on the right, will display the status of the test, as well as any output or error text.

Documentation

Documentation for cricket can be found on Read The Docs.

Community

Cricket is part of the BeeWare suite. You can talk to the community through:

We foster a welcoming and respectful community as described in our BeeWare Community Code of Conduct.

Acknowledgements

Icons for Cricket come from Icons8, and are used under the terms of a CC BY-ND 3.0 license.

Contributing

If you experience problems with cricket, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

More Repositories

1

toga

A Python native, OS native GUI toolkit.
Python
4,236
star
2

briefcase

Tools to support converting a Python project into a standalone native application.
Python
2,536
star
3

batavia

A JavaScript implementation of the Python virtual machine.
JavaScript
1,394
star
4

Python-Apple-support

A meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.
Makefile
1,088
star
5

voc

A transpiler that converts Python code into Java bytecode
Python
869
star
6

beeware

A meta-package simplifying the installation of the BeeWare suite of tools
832
star
7

beeware.github.io

🐍🐝
JavaScript
530
star
8

paying-the-piper

A project for discussing ways to fund open source development.
342
star
9

Python-iOS-template

A cookiecutter template for creating an iOS project running Python code.
301
star
10

ouroboros

A standalone, pure Python implementation of the Python Standard Library.
Python
292
star
11

rubicon-objc

A bridge interface between Python and Objective-C.
Python
263
star
12

bugjar

A interactive graphical debugger for Python code.
Python
247
star
13

podium

A Markdown-based native presentation tool
JavaScript
178
star
14

Python-Android-template

A cookiecutter template for creating an Android project running Python code.
159
star
15

colosseum

An implementation of the CSS layout algorithm.
Python
127
star
16

Python-Android-support

A meta-package for building a version of Python that can be embedded into an Android project.
Dockerfile
83
star
17

rubicon-java

A bridge interface between Python and Java.
Python
71
star
18

gbulb

GLib implementation of PEP 3156
Python
64
star
19

duvet

A GUI tool for visualizing coverage data.
Python
53
star
20

vscode-beeware

A Visual Studio Code extension with support for BeeWare development
TypeScript
47
star
21

briefcase-template

A cookiecutter template for a starter Briefcase project.
Python
42
star
22

rubicon

A collection of tools to bridge between Python and other language environments.
Python
40
star
23

yorkshire4

The classic Usborne computer programming books - now in Python!
Python
38
star
24

beekeeper

A Website to manage test and deploy processes
Python
30
star
25

beefore

Tools to run pre-merge checks on a pull request or commit.
Python
28
star
26

Python-macOS-template

A cookiecutter template for creating a standalone macOS project running Python code.
Shell
26
star
27

galley

A GUI tool for reviewing ReST/Sphinx documentation
Python
25
star
28

toga-chart

A matplotlib charting widget for Toga.
Python
24
star
29

briefcase-macOS-app-template

A template for generating macOS app projects with Briefcase
Python
23
star
30

slick

A native web-based client for Slack.
Python
22
star
31

briefcase-iOS-Xcode-template

A template for generating iOS Xcode projects with Briefcase
Objective-C
21
star
32

briefcase-linux-appimage-template

A template for generating Linux AppImage projects with Briefcase
Dockerfile
20
star
33

briefcase-android-gradle-template

A template for generating Android Gradle projects with Briefcase
Python
19
star
34

Python-Linux-support

A meta-package for building a version of Python that can be embedded into a Linux AppImage project.
Makefile
18
star
35

Python-tvOS-template

A cookiecutter template for creating a tvOS project running Python code.
Objective-C
16
star
36

mobile-forge

A tool to manage building cross-platform binary wheels for mobile devices
Python
15
star
37

travertino

A set of constants and utilities for describing user interfaces
Python
15
star
38

briefcase-macOS-Xcode-template

A template for generating an Xcode project for a macOS app using Briefcase
Objective-C
10
star
39

liquid-demo

A demonstration of a "standalone web app", written in Toga.
Python
9
star
40

briefcase-windows-msi-template

A template for generating Windows MSI projects with Briefcase
9
star
41

Python-Windows-template

A cookiecutter template for creating a Windows project running Python code.
Python
7
star
42

Python-OSX-template

A cookiecutter template for creating an OS/X app running Python code.
Shell
7
star
43

trebuchet

A tool to deploy websites.
7
star
44

std-nslog

A shim that redirects stderr/stdout to the Apple System Log (NSLog)
Python
7
star
45

Python-Linux-template

A cookiecutter template for creating a Linux project running Python code.
6
star
46

cpython-android-source-deps

Libraries that are needed to compile CPython for Android
Shell
5
star
47

Python-support-testbed

A testbed app that can be used to validate BeeWare support packages.
Python
4
star
48

briefcase-windows-app-template

A template for generating Windows application projects with Briefcase
4
star
49

Python-Django-template

A cookiecutter template for creating a briefcase-Django project
3
star
50

.github

Community Health files for the BeeWare Project
Python
3
star
51

cpython-apple-source-deps

A meta-project for building the binary packages for iOS, tvOS and watchOS that a CPython build requires
Makefile
3
star
52

briefcase-windows-VisualStudio-template

A template for generating Visual Studio projects for building Windows apps with Briefcase
C++
3
star
53

cookiecutter-website

A cookiecutter template for new pybee project websites.
CSS
2
star
54

legless-lizard

A setuptools mock of pythonnet.
Python
2
star
55

briefcase-linux-system-template

A template for generating Linux system packages with Briefcase
C
2
star
56

briefcase-linux-flatpak-template

A template for generating Linux Flatpak projects with Briefcase.
C
2
star
57

cpython-macOS-source-deps

A meta-project for building the binary packages for macOS that a CPython build requires
Makefile
2
star
58

pytest-briefcase

A pytest plugin for running tests of a Briefcase project.
Python
2
star
59

comb

A repository of BeeKeeper task configurations.
2
star
60

briefcase-linux-deb-template

A template for generating Linux .deb projects with Briefcase
C
1
star
61

lektor-gravatar

A Lektor plugin for generating gravatars
Python
1
star
62

skep

A proxy for finding and serving the latest Briefcase support packages
Python
1
star
63

setuptools_dynamic_dependencies

A setuptools plugin that allows for dependencies that are dependent on the package's version number.
Python
1
star
64

briefcase-web-static-template

A template for generating static web projects with Briefcase.
HTML
1
star
65

actions

Reusable Github Action templates for BeeWare
1
star