ARMmbed / mbed-drivers

Drivers for common MCU peripherals in mbed OS.
Other
39 stars 42 forks source link

The test environment needs to live somewhere else #47

Open bogdanm opened 9 years ago

bogdanm commented 9 years ago

I'm writing https://github.com/ARMmbed/mbed-util and I'm trying to not make it depend on mbed-core. The problem is that I need to write tests for that library, so now I have to use this:

"testDependencies": {
    "mbed-core": "~0.2.0"
}

in order to get the test environment in the library. This is just a very awkward hack, not a solution. It looks like the test environment should live in its own repository. Yup, another repository.

hugovincent commented 9 years ago

+1 to the device-side library support for greentea (test_env.cpp et al) living in it's own module. cc @PrzemekWirkus

rainierwolfcastle commented 9 years ago

ARM Internal Ref: IOTSFW-1016

niklarm commented 8 years ago

:+1: test-env.h needs to move.

AlessandroA commented 8 years ago

+1, I'd like uvisor-lib not to depend on mbed-drivers for testing

PrzemekWirkus commented 8 years ago

@bogdanm There is a plan for that (tickets) already.

0xc0170 commented 8 years ago

@PrzemekWirkus Please share it with me, I would like to move this next week if possible