Skip to content

ATF Software Architecture Document#3

Open
aderiabin wants to merge 1 commit intodevelopfrom
doc/atf_wiki
Open

ATF Software Architecture Document#3
aderiabin wants to merge 1 commit intodevelopfrom
doc/atf_wiki

Conversation

@aderiabin
Copy link
Owner

Current pull request aimed to add ATF Software Architecture Document.
It was created on base of ATF SAD created by Elisey Zamakhov.
Changes:

  • All links were replaced by relative ones
  • Description for new component "Security manager" was added
  • Component view diagram was updated accordingly

PS: Please take a look at Wiki

ATF *core* lua-scripts provides API for SDL easy manipulation:
- Start and stop SDL
- Emulation websocket HMI, HMI interfaces registration and subscription
- Emulation TCP mobile connection and FORD protocol session establishing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin FORD -> SDL


### 2.3. Business Goals

ATF system allows to automatize SDL regression testing and decreasing functional end regression costs.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin end -> and


The picture below shows ATF overview.

|||
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin Currently in view mode this three pipes displayed as is: |||
Please fix this in other files as well

- ***Launch*** declares command line arguments and execute all left parameters as ***User Scripts***
- *Constraints*
- Needs to be run by ***C++ Core***
- *Note:* ATF provides *run_tests.sh* script for automation run ***Launch*** by ***C++ Core***
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin As far as I know current script name is start.sh

- *Responsibility*
- Test cases consecutive execution
- Each test case verification check:
- ***User Script*** expectation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin expectation -> expectations

![Deployment View](./assets/deployment.svg)
|||

!!! MAY
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin Is this section going to be reworked? Or why so many !!! signs here?


- Logging ATF input and output data
- Storing SDL Core logs with a TCP SDL Core logger
- Testing report with Test Cases results No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin Testing report -> Test report

@@ -0,0 +1,76 @@
### 7. References

1. SDL SW architecture - <https://smartdevicelink.com/en/guides/core/software-architecture-document/table-of-contents/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin Link is broken


1. SDL SW architecture - <https://smartdevicelink.com/en/guides/core/software-architecture-document/table-of-contents/>
2. SmartDeviceLink Protocol specification - <https://github.com/smartdevicelink/protocol_spec/blob/master/README.md>
3. ATF Developers guide - <https://adc.luxoft.com/svn/APPLINK/doc/technical/testing/AutomatedTestFramework/ATF_Versions/ATF2_DeveloperGuide.pdf>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin APPLINK link. Present of such links needs to be clarified

| ***HMI RPC*** | X | X | | | |
| ***Mobile RPC*** | X | X | | | |
| ***Json data*** | | X | | | X |
| ***protocol packet*** | | | X | | |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aderiabin It's better to rename to Protocol packet (starting from capital letter)

aderiabin pushed a commit that referenced this pull request Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants