Git Product home page Git Product logo

edtt's People

Contributors

aescolar avatar auroraslb avatar carlescufi avatar cvinayak avatar erbr-ot avatar heri-developer avatar joerchan avatar kruithofa avatar mariuszskamra avatar marqvart-ot avatar mtpr-ot avatar niag-oticon avatar rugegerritsen avatar rymanluk avatar smaerup avatar szymon-czapracki avatar thoh-ot avatar tronil avatar wopu-ot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

edtt's Issues

Support for ICS

EDTT implicitly assumes that certain features are present. This poses problems when testing a configuration that does not follow these assumptions. Support for an ICS as created by LaunchStudio would enable selecting relevant tests automatically and adapt the behavior of test cases. An example for the latter would be that EDTT could check that feature bits are set or cleared according to what is found in the ICS (cf. discussion in #9).

With ICS support in place in EDTT, one could also consider auto-generating an ICS from a Zephyr Kconfig for an automated test flow.

GATT server "Insufficient Encryption Key Size" tests are invalid

Tests that verify GATT server "Insufficient Encryption Key Size" error code have couple issues:

  1. they verify wrong ATT status code : should be ATT_ERROR_INSUFFICIENT_ENCRYPTION_KEY_SIZE (0x0c) instead of ATT_ERROR_INSUFFICIENT_ENCRYPTION (0x0f)
  2. tests should pair with proper (small) key size before accessing characteristics and verifying returned status code

1 is easy to fix, 2 I have no idea on how this should be done, there is pairing_bv_01_c() which seems to be unused and this is only indication of pairing in those tests (unless I miss something)

This is affecting following tests:
GATT/SR/GAR/BI-11-C [Insufficient Encryption Key Size error - Reading Using Characteristic UUID]
GATT/SR/GAR/BI-17-C [Insufficient Encryption Key Size error - Reading Long Characteristic Value]
GATT/SR/GAR/BI-22-C [Insufficient Encryption Key Size error - Reading Multiple Characteristic Values]
GATT/SR/GAW/BI-06-C [Insufficient Encryption Key Size error - Writing Characteristic Value]
GATT/SR/GAW/BI-13-C [Insufficient Encryption Key Size error - Writing Long Characteristic Value]

LL/CON/MAS/BV-74-C: initial test conditions not as specified

As per LL testspecification LL.TS.5.1.1 chapter 4.1.5:
"If a test covers optional features and does not mention the feature exchange procedure, the IUT shall perform the feature exchange procedure before the test procedure is executed."
It seems that the feature exchange is not run as part of the test initialisation

Other pre-test setup may be missing
This applies to other tests as well

GAP/GAT/BV-04-C ignores "no specific value" parameters

GAP/GAT/BV-04-C ignores the fact that the Peripheral Preferred Connection Parameters Characteristic may include values with "no specific value" (0xffff). The test case instead tries to create a connection with illegal parameters (connection interval 0xffff).

gatt_verification test not filtering on L2CAP CID

The gatt_verification test does not filter on the L2CAP CID. This means that data sent on a different channel (e.g. the Low Energy L2CAP Signalling channel) is mixed into the attribute data and causing the test to fail.

Support GATT database changes

Tests shall not assume handle positions are static on the database, if a handle is required for a test perform a lookup into the database to resolve the handle at runtime otherwise new aditions to the database can break the tests making EDTT inefective to be used in CI as it would likely generate false positives and block new features such EATT:

zephyrproject-rtos/zephyr#23199

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.