Giter Club home page Giter Club logo

Comments (4)

p2 avatar p2 commented on June 14, 2024

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.

chh51 avatar chh51 commented on June 14, 2024

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.

p2 avatar p2 commented on June 14, 2024

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.

chh51 avatar chh51 commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.