Skip to main content

vfxtest


→ Release Notes

What's this about?

This project is about managing a test suite for a Python codebase that is used in multiple contexts.

Common contexts found in a VFX production environment are:

  • standalone Python 2.7
  • standalone Python 3.x
  • embedded Python interpreters inside DCC's:
    • Maya/mayapy
    • Houdini/hython
    • Nuke
    • ...

Where's the benefit?

Doing Test Driven Development in Python is fairly straight forward utilizing packages such as unittest and mock.

It's also really comfortable to get feedback about code coverage using the coverage package.

However...

When a Python codebase is used inside multiple contexts that do not know each other it is quite difficult to gather accurate metrics about the overall test coverage.

And this is where vfxtest tries to fill the gap.

vfxtest is just a thin wrapper around unittest, mock and coverage that let's you run a test suite for each context and then presents the combined code coverage of all those tests.

I basically scratched my own itch...

While starting to embrace TDD in a VFX production environment I had this need and did not find an obvious existing solution to it.

Documentation

Soon to be found on vfxtest.readthedocs.com.

Stay tuned... :)

'Impostor Syndrome' Disclaimer

I'm really still in my first inning of the whole TDD game.

Therefore I'm fully aware that I probably know barely enough to be dangerous right now. :)

If there already happens to be an existing go-to solution for this problem out there on the interwebs, I'd love to know about it!

Also if any part of this could be improved (or makes your eyes bleed) please give me a heads up! :)

That said, I hope that somebody will get some benefit out of this!

Everything that encourages and helps maintaining a test suite in VFX is valuable, as far as I'm concerned... :)

Release files for vfxtest 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vfxtest 0.2.2
File Size Uploaded
vfxtest-0.2.2.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vfxtest 0.2.2
File Interpreter ABI Platform
vfxtest-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.6 kB

Release files / vfxtest-0.2.2.tar.gz

Download URL vfxtest-0.2.2.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a78228213ecbd8c221219d120d25b70c29f3555f6cd99166567233f76542b41c
BLAKE2b-256 checksum
How to use checksums
c505ec14452d77ce35723d09beaebbffc75d3000604ea842a2dfb7a56e1f3714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release files / vfxtest-0.2.2-py3-none-any.whl

Download URL vfxtest-0.2.2-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffe07dfe220818b86ff03005c077827ae69527b11cd30f05e3bd6d7a1d962ba6
BLAKE2b-256 checksum
How to use checksums
d3b147c93d7f339dbf4918384726b1bf5c3917ba32b03f8124547f5f0ea9b87f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

3 release files

0.1.0

3 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page