developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Last modified 9 years ago

#655 delayed new feature

having less dependencies with _SERVER in jRequest ?

Reported by: greut Owned by: laurentj
Priority: low Milestone:
Component: jelix:core request Version: 1.0.5
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Ho haï,

I wanted to be able to write unit testing that simulates HTTP calls, but without HTTP. Juste creating a JRequest("POST", "/foo/bar", "spam=egg") and checking the result that jCoordinator gives.

But it seems that jCoordinator is too tied with the system, i.e. $_SERVER...?

Thanks a lot.

In the meanwhile I'll write tests with a standalone SimpleTest?.

Change History (3)

comment:1 Changed 11 years ago by laurentj

  • Component changed from jelix to jelix:core request
  • Owner set to laurentj

comment:2 Changed 11 years ago by laurentj

  • Summary changed from testing Jelix from Jelix to having less dependencies with _SERVER in jRequest ?

comment:3 Changed 9 years ago by laurentj

  • Status changed from new to delayed
Note: See TracTickets for help on using tickets.