-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests: List of ObjC tests #48
Comments
Running the tests
It's failing on parsing |
|
In response to your issue and analysis of the tests, this is very good, thanks. I do question your allocation of |
@mattheworiordan Yes, you right. The |
Running the tests
After #51. |
Purpose: to avoid pollution on the iOS specs spreadsheet and keep record of tests to be removed or rewritten. Current state of the tests.
Legend:
Some of them I couldn't relate to a specific spec because most of them are testing multi aspects. Ex: Checking
Channel#subscribe
andChannel#unsubscribe
on the same test method.Class
ARTFallbackTest
Class
ARTHttpTest
Class
ARTLogTest
Already implemented in Swift.
Class
ARTRealtimeAttachTest
RTL4a
: ⭕️ (incomplete, doesn't make sense, it has a flag but it never changes)channel.attach
when it is trying toDETACHING
)XCTFail
)RTL5d
: ⭕️ (doesn't raise anyXCTFail
)RTL5a
: ⭕️ (incomplete)RTL4b
: ⭕️ (incomplete, doesn't force the failed state)RTL4d
: ✅testAttachRestricted
already check this)testAttachRestricted
already check this)Channel#close
)Class
ARTRealtimeChannelHistoryTest
RTL10c
: ✅RTL10d
: ⭕️ (should have 2 instances of RealtimeClient)Class
ARTRealtimeChannelTest
ARTRealtimeAttachTest
)SUSPENDED
state)RTS3a
: ✅[ARTPayload getPayloadArraySizeLimit:2 modify:true]
)Class
ARTRealtimeConnectFailTest
❌ Remove all of it because it does nothing.
Class
ARTRealtimeConnectTest
❌ Remove all of it because it already exists in Swift.
Class
ARTRealtimeCryptoMessageTest
RSL5b
:testCBCParser
)Class
ARTRealtimeCryptoTest
cipherParams
is now part of ChannelOptions)cipherParams
is now part of ChannelOptions)Class
ARTRealtimeInitTest
❌ Remove all of it because it already exists in Swift.
Class
ARTRealtimeMessageTest
RTL6b
: ⭕️ (incomplete, add error check)subscribe
andpublish
test)RTL7f
: ✅subscribeToStateChanges
callback before thesubscribe
, ensures the channel gets attached when invokingsubscribe
)RTL6c2
(kind of): ⭕️ (have some doubts withconnectingHappened
flag)RTL6f
(kind of): ⭕️ (have some doubts with thehistory
call)subscribeToStateChanges
andsubscribe
beforeeventEmitter.on
)RTL6i
: ⭕️ (assignsubscribe
before callpublish
)RTL6i1
: ⭕️ (assignsubscribe
before callpublish
)RTL7b
Class
ARTRealtimePresenceHistoryTest
RSP4a
: ✅RSP4b2
: ✅Class
ARTRealtimePresenceTest
RTP8d
: ✅RTP6c
: ✅Presence#enter
twice, firstenter
, secondupdate
)Presence#enter
and thenPresence#update
)RTP9a
: ⭕️ (incomplete, check adding data for the present member)RTP10a
: ✅ (data argument omitted)RTP9b
: ✅get
presence of channel but order of clients is random)RTP8c
: ⭕️ (is checking for an exception but should verify theclientId
)RTP8g
: ⭕️ (should check for exception)RTP8g
: ⭕️ (should check for exception)leave
occurs)RTP10a
: ✅ (data argument omitted)RTP10d
: ✅RTP10d
: ✅RTP14d
: ✅RTP15b
: ⭕️ (incomplete)limit
to 250)RTP2
: ✅RTP10d
: ✅RTP15
: ✅Class
ARTRealtimeRecoverTest
RTN15d
:options.recover = nil
. Confusing)Class
ARTRealtimeResumeTest
Class
ARTRealtimeTokenTest
❌ Remove all of it because it does nothing.
Class
ARTRestAppStatsTest
❌ Remove all of it because it already exists in Swift.
Class
ARTRestCapabilityTest
capability
)Class
ARTRestChannelHistoryTest
RSL2b3
: ✅ (check exception for invalid 1001 items)Class
ARTRestChannelPublishTest
RSL1b
: ✅ (Channels#publish
, the name is implicit)RSL1a
: ⭕️ (array of messages, currently returns a single message back instead of 3)Class
ARTRestCryptoTest
Class
ARTRestInitTest
Class
ARTRestPresenceTest
RSP4a
: ✅ (using channelpersisted:presence_fixtures
)RSP4b2
: ✅ (usingtest-app-setup.json
)RSP4b2
: ✅ (usingtest-app-setup.json
)RSP4b3
: ✅ (checks exception for up max limit)Class
ARTRestTokenTest
RSA4
: ✅RSA4
: ✅RSA4
: ✅ (doesn't ensures if the transport connects with Token auth)RSA5
: ✅RSA5
: ✅keySecret
, forced change)The text was updated successfully, but these errors were encountered: