Download Test driven development - Software developers homepage

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
SuperStream Compliance Testing
[email protected]
ComplianceTest Concepts
Conceptually, ComplianceTest is a “reference implementation” against which customers
can independently test their products.
Overview of concepts
• Community
• Test Suite
• Business Scenario
• Test Case
• Tester Role
• Test Plan
• Conformance Level
• Test Data Profile
• Conversation
• Message
ATO Conformance & Connection Options
The ATO has issued a conformance testing guide that clarifies the roles and obligations of
various entities in the end-to-end message flow.
ComplianceTest offers a number of connection options for the parties in the chain.
• A quick start using SOAP-UI (or SOAP client) for document & business testing
• Via gateways for end-to-end testing.
Through-Gateway Testing
• ComplianceTest is just another
gateway – but only for test
messages.
• We host virtual funds – to which
payroll testers can send messages.
• We host virtual employers – from
which funds can trigger messages.
• Testers are allocated (or choose)
unique ABNs and USIs so that
routing works just as in production
systems.
• ComplianceTest hosts the test FVS
which contains test end-points for all
testers and our virtual
funds/employers
The Contributions Suite
The ComplianceTest scenarios cover the broad set of requirements called for by the
SuperStream Data and Payment Standards.
Contributions
Registrations & Multi-Part
SS-CTR-01
SS-CTR-02
SS-CTR-03
SS-CTR-04
SS-CTR-05
SS-CTR-06
SS-CTR-07
SS-CTR-08
SS-REG-01 : New Registration
SS-REG-02 : Registration Update
SS-REG-03 : Complex Registration
SS-REG-04 : Identity Errors
SS-REG-05 : Fund Specific Errors
SS-REG-06 : Technical Errors
SS-MULT-01 : Combined Multi-Part
SS-MULT-02 : Multi-Part with Errors.
:
:
:
:
:
:
:
:
Default Contribution
Choice Contribution
Employer to Clearing House
Clearing House to Fund
Member Identity Errors
Fund Specific Errors
Financial Errors
Technical Errors
The Test Data Profiles
The SuperStream community test data profiles include
• 6 virtual employers (Artmet, Big Oil, etc)
• 6 virtual funds (ACME, Allied, etc)
• One virtual clearing house (SuperChoose)
• 30 virtual persons who are employees and
members.
The data sets have been engineered to generate
either positive (green) test results or negative (red)
test results.
All profiles are represented using JSON – a very simple
and extensible notation for holding structured data.
Virtual entities are further consolidated to support
testing through gateways.
Custom test data profiles
The Employer (ABN)
and the Product (USI)
define the granularity
of the profile data file –
because these are the
logical business endpoints for SuperStream
messaging.
Message Triggering & SOAP-UI
ComplianceTest can be initiated either by a tester sending a message TO the harness – or
by a test triggering a message FROM the harness.
We provide two REST services
that facilitate testing:
• The Trigger API
• The Render API
We provide a reference client
based on SOAP-UI to help you
get started.
Products & Conformance Claims
ComplianceTest provides a self-certification
framework. Nobody will verify that you really tested
with your product. Self-certification steps are
• Register your product & version – providing a
unique ID.
• Create a test plan for your product by choosing
one or more conformance levels and roles.
• Complete testing, marking at least one
conversation as “audit record” for each successful
test case.
• When test coverage indicators show all green,
then make a compliance claim.
• ComplianceTest will generate a signed certificate
with transaction log for your product / version and
test scope.
Ongoing Testing & Support
ComplianceTest is designed not only for a once-off self-certification.
• Test driven development: We have designed the reference client, rich data profiles,
and trigger/render services to facilitate the product development cycle. Developers
that have access to profiles, samples, and tests will more quickly understand scope
and build quality solutions.
• Regression Testing: Change is a constant fact of life. Your products change and new
versions are released. SuperStream specifications change – sometimes a formal new
version release and more often a guidance note that clarifies a potential area of
confusion. Your subscription includes access to all versions of a test suite and you
can test your products as often as you like. We have designed the service to be built
into your regression test and release management processes.
• Community Support: your registration includes access to the community forum
where you can ask questions, help others, and leverage a growing knowledgebase.
• Formal Support: If you need an authoritative answer within a defined SLA then
lodge a formal support ticket. There is a fee so just use it when you need it.
Questions?