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

Opened 13 years ago

Last modified 10 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:


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 12 years ago by laurentj

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

comment:2 Changed 12 years ago by laurentj

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

comment:3 Changed 10 years ago by laurentj

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