Skip to content

A new Python framework in development, aiming to provide a powerful yet simple approach for building reactive web applications. Numerous Apps empowers developers to create modern, scalable web apps with Python, maintaining a clear separation between business logic and presentation.

License

Notifications You must be signed in to change notification settings

numerous-com/numerous-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
semantic-release
Mar 13, 2025
4afc870 · Mar 13, 2025
Mar 12, 2025
Dec 28, 2024
Mar 12, 2025
Jan 16, 2025
Mar 13, 2025
Mar 13, 2025
Jan 16, 2025
Mar 12, 2025
Dec 12, 2024
Jan 24, 2025
Mar 12, 2025
Dec 11, 2024
Mar 13, 2025
Dec 11, 2024
Dec 11, 2024
Dec 14, 2024
Mar 12, 2025
Mar 12, 2025
Jan 19, 2025
Dec 15, 2024
Mar 12, 2025
Mar 12, 2025
Mar 13, 2025

Repository files navigation

Testing

Python Tests

To run the Python tests:

pytest

For coverage information:

pytest --cov=numerous

JavaScript Tests

The client-side JavaScript code (numerous.js) can be tested using Jest. To run the JavaScript tests:

  1. Install Node.js if you don't have it already
  2. Install the required npm dependencies:
npm install
  1. Run the tests:
npm test

For coverage information:

npm test -- --coverage

The JavaScript tests cover the following functionality:

  • WidgetModel class for managing widget state
  • WebSocketManager for handling WebSocket communication
  • Utility functions for logging and debugging

JavaScript tests are automatically run:

  • As part of the pre-commit hooks when pushing code
  • In the GitHub CI/CD pipeline for every push to the repository
  • Coverage reports are generated and archived as artifacts in GitHub Actions

For more details on the JavaScript testing setup, see tests/js/README.md.

Pre-commit Hooks

Both Python and JavaScript tests are included in the pre-commit workflow:

  • Python tests run automatically before pushing code
  • JavaScript tests run automatically before pushing code

To install the pre-commit hooks:

pre-commit install --hook-type pre-commit --hook-type pre-push

This ensures that all tests pass before code is pushed to the repository.

About

A new Python framework in development, aiming to provide a powerful yet simple approach for building reactive web applications. Numerous Apps empowers developers to create modern, scalable web apps with Python, maintaining a clear separation between business logic and presentation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published