Skip to content

Instantly share code, notes, and snippets.

@MartinSven
Created March 13, 2018 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinSven/554ca546a1d58ed74d420f425c2c0644 to your computer and use it in GitHub Desktop.
Save MartinSven/554ca546a1d58ed74d420f425c2c0644 to your computer and use it in GitHub Desktop.
Testcase coverage example [MvR]
\Testing\hue-contract-tests\test\api\client-eastwood\configBridgeV1.js
describe('should be able to response from client-eastwood server',()=>{
it('it is possible to get version of the client-eastwood server', async()=>{
it('it is possible to get connection status bridge', async()=>{
describe('should be able to get configuration of a bridge',()=>{
it('it is possible to get config of a bridge', async()=>{
it('it is possible to get full config of a bridge', async()=>{
it('it is possible to get light details connected to a bridge', async()=>{
describe('should be able to update bridge name', ()=>{
it('it is possible to update the bridge name', async()=>{
\Testing\hue-contract-tests\test\api\client-eastwood\configBridgeV2.js
describe('should be able to response from client-eastwood server',() => {
it('it is possible to get version of the client-eastwood server', async()=>{
it('it is possible to get connection status bridge', async() => {
//expectation is that this bridge has a websocket connection, if lastseen is returned then this is not a websocket connection
describe('should be able to get configuration of a bridge',() => {
it('it is possible to get config of a bridge', async()=>{
it('it is possible to get full config of a bridge', async() => {
it('it is possible to get light details connected to a bridge', async() => {
describe('should be able to update bridge name', ()=>{
it('it is possible to update the bridge name', async() => {
describe('ClientEastwood config bridge polling V2 @CE @rtMeetHueLive @rtCLSystem', () => {
describe('polling bridge',() => {
it('should not have property lastConnectionUpdate', () => {
it('should not have property lastConnectionUpdate', () => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment