Comments (4)
Nice catch, and not intentional; shows the desolate state the SMART specific test cases are in! The instruction to wait for the block callback is also missing, I don't think this test class is any good.
Yes, you can use the client to connect to the open FHIR endpoint. I haven't tried it in unit tests and am using a mock server in the other test cases, testing metadata parsing. Maybe that's a better approach for unit testing? What do you need to test?
from swift-smart.
Well, my goal is to test many of the SMART-on-FIHR apis ( with some of my wrapper code around them ) in XCTests against
the Smart, Cerner, and Epic test servers.
I need automated tests so that I can run regression tests every day or so to make sure I am not breaking something.
This describes what I am trying to do http://e2.edgemoor.com/doc/s16s3.html http://e2.edgemoor.com/doc/s16s3.html
Chris Hawkins
[email protected]
On Apr 21, 2016, at 1:08 PM, Pascal Pfiffner [email protected] wrote:
Nice catch, and not intentional; shows the desolate state the SMART specific test cases are in! The instruction to wait for the block callback is also missing, I don't think this test class is any good.
Yes, you can use the client to connect to the open FHIR endpoint. I haven't tried it in unit tests and am using a mock server in the other test cases https://github.com/smart-on-fhir/Swift-SMART/blob/master/Tests/ServerTests.swift#L33, testing metadata parsing. Maybe that's a better approach for unit testing? What do you need to test?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #1 (comment)
from swift-smart.
Ah great! Yes, that makes sense. The client works by reading the Conformance statement the first time any REST call is needed, so for open servers you may only need to specify baseURL
and an empty settings
dictionary on Client.init.
Let me know how it goes!
from swift-smart.
I hope to be working on that by tomorrow, will let you know how it works out.
On Apr 21, 2016, at 1:20 PM, Pascal Pfiffner [email protected] wrote:
Ah great! Yes, that makes sense. The client works by reading the Conformance statement the first time any REST call is needed, so for open servers you may only need to specify baseURL and an empty settings dictionary on Client.init.
Let me know how it goes!
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #1 (comment)
from swift-smart.
Related Issues (20)
- Reference resolution for Composition Bundle HOT 3
- library not loaded on IPhoneOS
- Expected authority at index 16 - Could not create URI
- Custom Headers for Client/Server
- Flow for Practitioner/Provider (User) Login HOT 2
- Making PatientListViewController.onPatientSelect() -> public HOT 3
- "Ambiguous use of operator '<'" in DateAndTime.swift
- '$' is not an identifier; use backticks to escape it HOT 2
- EXC_BAD_ACCESS HOT 7
- Current Practitioner HOT 2
- Search related EXC_BAD_ACCESS HOT 2
- Simulator will not work HOT 3
- Refresh token HOT 1
- Swift 4 Support HOT 5
- Error when using _summary=count
- Login as patient without list. HOT 1
- Update authContext
- DateTime wrapper rounds to nearest second
- Asking again credentials while refreshing the Token Using Smart client object. HOT 2
- X
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-smart.