@@ -68,28 +68,6 @@ pytest tests/ -m jolteon --env jolteon_docker
68
68
pytest tests/ -m jolteon --blockchain substrate
69
69
```
70
70
71
- ## Test Implementation Strategy
72
-
73
- ### Phase 1: Basic Functionality (Current)
74
- - ✅ QC formation and round advancement
75
- - ✅ Authority rotation verification
76
- - ✅ Metadata availability exploration
77
-
78
- ### Phase 2: Core Protocol Rules (Next)
79
- - 🔄 2-chain commit rule verification
80
- - 🔄 Safety properties validation
81
- - 🔄 Liveness guarantees testing
82
-
83
- ### Phase 3: Fault Tolerance (Future)
84
- - ⏳ Timeout mechanism testing
85
- - ⏳ TC formation verification
86
- - ⏳ Byzantine leader handling
87
-
88
- ### Phase 4: Performance and Limits (Future)
89
- - ⏳ Asynchronous condition testing
90
- - ⏳ DDoS attack simulation
91
- - ⏳ Performance benchmarking
92
-
93
71
## Understanding the Tests
94
72
95
73
### What These Tests Verify
@@ -108,9 +86,8 @@ pytest tests/ -m jolteon --blockchain substrate
108
86
109
87
### Adding New Test Cases
110
88
1 . Follow the existing test structure and naming conventions
111
- 2 . Use appropriate test keys (JOLTEON-XXX)
112
- 3 . Include comprehensive logging for debugging
113
- 4 . Add proper error handling and graceful degradation
89
+ 2 . Include comprehensive logging for debugging
90
+ 3 . Add proper error handling and graceful degradation
114
91
115
92
### Modifying Test Parameters
116
93
- Adjust wait times based on your network characteristics
@@ -142,15 +119,13 @@ pytest tests/test_jolteon_consensus.py::TestJolteonConsensus::test_qc_formation_
142
119
## Contributing
143
120
144
121
When adding new test cases:
145
- 1 . Follow the Tachyeon test case document structure
146
- 2 . Implement tests incrementally (simple → complex)
147
- 3 . Include proper documentation and logging
148
- 4 . Test thoroughly in your Jolteon environment
149
- 5 . Update this README with new test information
122
+ 1 . Implement tests incrementally (simple → complex)
123
+ 2 . Include proper documentation and logging
124
+ 3 . Test thoroughly in your Jolteon environment
125
+ 4 . Update this README with new test information
150
126
151
127
## References
152
128
153
- - [ Tachyeon Test Cases Document] ( ../docs/tachyeon-test-cases.md )
154
129
- [ Jolteon Consensus Protocol Specification] ( https://eprint.iacr.org/2021/319 )
155
130
- [ Substrate Interface Documentation] ( https://github.com/polkascan/py-substrate-interface )
156
131
- [ Partner Chains E2E Testing Guide] ( ../README.md )
0 commit comments