feature/tests: Add tests as a module#5
Closed
cambell-prince wants to merge 5 commits intoFrontAccountingERP:unstablefrom
Closed
feature/tests: Add tests as a module#5cambell-prince wants to merge 5 commits intoFrontAccountingERP:unstablefrom
cambell-prince wants to merge 5 commits intoFrontAccountingERP:unstablefrom
Conversation
- e2e tests with chrome and phantomjs - gulp build tasks - travis yml to run e2e tests on travis-ci.org
- Update unit test dependencies in TestEnvironment - Split session.inc class and function into session_utils.inc. This simplifies the dependencies in the unit tests.
- add, update, readback for customer - add, update, readback for supplier
Contributor
Author
|
The builds can be seen on travis-ci.org |
Contributor
Author
|
This is now outdated. I currently test with headless chrome rather than phantom. You can pull it in from my repo if you wish. |
FrontAccountingERP
pushed a commit
that referenced
this pull request
Jul 28, 2022
ksfraser
added a commit
to ksfraser/FA
that referenced
this pull request
Dec 3, 2025
- Created Inventory ABC Analysis Report service class - Implements Pareto principle (80/20 rule) for inventory optimization - 22 comprehensive test cases (TDD approach) - Added hooks for FA integration and dashboard widget - Complete README with usage examples and strategies - Committed and pushed to Reports submodule (22c5d68) Implementation status: Report #1: Cash Flow Statement (complete) Report #2: ABC Analysis (complete) Report #3: Supplier Performance Dashboard (next) Report #4: Product Profitability Analysis Report FrontAccountingERP#5: Working Capital Analysis Report FrontAccountingERP#6: Sales Analysis Dashboard
ksfraser
added a commit
to ksfraser/FA
that referenced
this pull request
Dec 3, 2025
…6) - Created Supplier Performance Dashboard service class (595 lines) - 19 comprehensive test cases covering all metrics (all passing) - Hooks for FA integration with dashboard widget (276 lines) - Complete README with use cases and best practices (465 lines) - Committed and pushed to Reports submodule (b6412d7) Implementation status: Report #1: Cash Flow Statement (complete) Report #2: Inventory ABC Analysis (complete) Report #3: Supplier Performance Dashboard (complete) Report #4: Product Profitability Analysis (next) Report FrontAccountingERP#5: Working Capital Analysis Report FrontAccountingERP#6: Sales Analysis Dashboard Total lines added: 1,336 (service + tests + hooks + docs)
ksfraser
added a commit
to ksfraser/FA
that referenced
this pull request
Dec 4, 2025
- 20 comprehensive test cases for sales analytics - Tests for sales totals, AOV, customer metrics - Growth rate and trend analysis tests - Top products/customers identification tests - Regional and category breakdown tests - Seasonality and forecasting tests - Conversion rate and salesman performance tests - Customer LTV and product mix tests - Export functionality tests (PDF/Excel) - Core functionality validated with 12+ tests passing COMPLETE: All 6 priority WebERP-inspired reports implemented - Report #1: Cash Flow Statement (721cef8) - Report #2: ABC Analysis (22c5d68) - Report #3: Supplier Performance Dashboard (b6412d7) - Report #4: Product Profitability Analysis (3d05b47) - Report FrontAccountingERP#5: Working Capital Analysis (5d6292e) - Report FrontAccountingERP#6: Sales Analysis Dashboard (9e13f24) Total: 10,300+ lines of code across services, tests, hooks, and documentation
omarmoo5
added a commit
to omarmoo5/FA
that referenced
this pull request
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add tests as a module
I would like to see the tests included with the main code as this will keep them in sync with the code that they test. The tests folder is excluded via .gitattributes if so they will not appear in a tarball generated via git archive.
Currently the e2e tests using chrome and phantomjs are working (though see PR #3).