cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Podkowinski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13458) Diag. Events: Add unit testing support
Date Tue, 18 Apr 2017 14:21:41 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-13458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Podkowinski updated CASSANDRA-13458:
-------------------------------------------
    Description: 
Diagnostic events will improve unit testing by
* providing test execution control instances based on CompletableFutures (see [PendingRangeCalculatorServiceTest.java|https://github.com/spodkowinski/cassandra/blob/WIP-13458/test/unit/org/apache/cassandra/gms/PendingRangeCalculatorServiceTest.java])

* validate state and behavior by allowing you to inspect generated events (see [HintsServiceEventsTest.java|https://github.com/spodkowinski/cassandra/blob/WIP-13458/test/unit/org/apache/cassandra/hints/HintsServiceEventsTest.java])

See included [testing.rst|https://github.com/spodkowinski/cassandra/blob/WIP-13458/doc/source/development/testing.rst#diagnostic-events-40]
draft for more details. Let me know if this would be useful for you as a developer.

  was:
Diagnostic events will improve unit testing by
* providing test execution control instances based on CompletableFutures (see PendingRangeCalculatorServiceTest.java)

* validate state and behavior by allowing you to inspect generated events (see HintsServiceEventsExampleTest.java)

See included testing.rst draft for more details


> Diag. Events: Add unit testing support
> --------------------------------------
>
>                 Key: CASSANDRA-13458
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13458
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Testing
>            Reporter: Stefan Podkowinski
>            Assignee: Stefan Podkowinski
>
> Diagnostic events will improve unit testing by
> * providing test execution control instances based on CompletableFutures (see [PendingRangeCalculatorServiceTest.java|https://github.com/spodkowinski/cassandra/blob/WIP-13458/test/unit/org/apache/cassandra/gms/PendingRangeCalculatorServiceTest.java])

> * validate state and behavior by allowing you to inspect generated events (see [HintsServiceEventsTest.java|https://github.com/spodkowinski/cassandra/blob/WIP-13458/test/unit/org/apache/cassandra/hints/HintsServiceEventsTest.java])
> See included [testing.rst|https://github.com/spodkowinski/cassandra/blob/WIP-13458/doc/source/development/testing.rst#diagnostic-events-40]
draft for more details. Let me know if this would be useful for you as a developer.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message